[Pkg-nagios-changes] [pkg-icingaweb2] 01/02: uglify: Don't care about a header

Markus Frosch lazyfrosch at moszumanska.debian.org
Mon Aug 8 15:38:56 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 36e1fe40d8d6c2f802f4c464bc784d6d3721a1e7
Author: Markus Frosch <lazyfrosch at debian.org>
Date:   Mon Aug 8 16:30:18 2016 +0200

    uglify: Don't care about a header
    
    This is too complicated to support everywhere.
---
 debian/uglify/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/uglify/Makefile b/debian/uglify/Makefile
index e4267ca..fca4024 100644
--- a/debian/uglify/Makefile
+++ b/debian/uglify/Makefile
@@ -26,9 +26,9 @@ ifdef CAN_UGLIFYJS
 	uglifyjs \
 	  $(UGLIFY_OPTS) \
 	  -o $@ \
-	  --preamble "$$(cat $<.head)" \
 	  --source-map $(map) \
 	  --source-map-url $(map) -- $<
+	#  --preamble "$$(cat $<.head)" \
 	# Add explicit newline (https://dev.icinga.org/issues/12328)
 	echo >> $@
 else
@@ -37,5 +37,5 @@ endif
 
 %.js:
 	$(eval min := $(patsubst %.js,%.min.js,$@))
-	grep -Pzo '/\*([^*]|[\r\n]|(\*+([^*/]|[\r\n])))*\*+/' $(SOURCE_PATH)/$(min) > $@.head
+	#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