[Pkg-nagios-changes] [pkg-icingaweb2] 01/01: uglify: Fix rule order for older versions of GNU make

Markus Frosch lazyfrosch at moszumanska.debian.org
Mon Aug 8 12:55:55 UTC 2016


This is an automated email from the git hooks/post-receive script.

lazyfrosch pushed a commit to branch master
in repository pkg-icingaweb2.

commit d17f5af5e62ac403ec8cea886ca06d0c541d5bf1
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