[Pkg-nagios-changes] [pkg-icingaweb2] 02/02: uglify: Fix rule order for older versions of GNU make
Markus Frosch
lazyfrosch at moszumanska.debian.org
Mon Aug 8 12:51:17 UTC 2016
This is an automated email from the git hooks/post-receive script.
lazyfrosch pushed a commit to branch debmon-wheezy
in repository pkg-icingaweb2.
commit 7b65fe65f9d0225b7849e1b84ef436b0eb9dae18
Author: Markus Frosch <lazyfrosch at debian.org>
Date: Mon Aug 8 14:45:24 2016 +0200
uglify: Fix rule order for older versions of GNU make
---
debian/uglify/Makefile | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/debian/uglify/Makefile b/debian/uglify/Makefile
index dc4fa0b..e4267ca 100644
--- a/debian/uglify/Makefile
+++ b/debian/uglify/Makefile
@@ -20,11 +20,6 @@ source: $(SOURCES)
uglify: $(FILES)
-%.js:
- $(eval min := $(patsubst %.js,%.min.js,$@))
- grep -Pzo '/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/' $(SOURCE_PATH)/$(min) > $@.head
- cp $(SOURCE_PATH)/$@ .
-
%.min.js: %.js
$(eval map := $(patsubst %.min.js,%.min.map,$@))
ifdef CAN_UGLIFYJS
@@ -39,3 +34,8 @@ ifdef CAN_UGLIFYJS
else
yui-compressor $< -o $@
endif
+
+%.js:
+ $(eval min := $(patsubst %.js,%.min.js,$@))
+ grep -Pzo '/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/' $(SOURCE_PATH)/$(min) > $@.head
+ cp $(SOURCE_PATH)/$@ .
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-icingaweb2.git
More information about the Pkg-nagios-changes
mailing list