[Pkg-javascript-commits] [ie7-js] 03/06: Don’t overwrite upstream files at build time

David Prévot taffit at moszumanska.debian.org
Thu Jul 31 18:30:06 UTC 2014


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

taffit pushed a commit to branch master
in repository ie7-js.

commit 302a910fdd5dea875d2d6dd2848fd38cfbc71a46
Author: David Prévot <taffit at debian.org>
Date:   Thu Jul 31 12:37:12 2014 -0400

    Don’t overwrite upstream files at build time
---
 debian/install | 4 ++--
 debian/rules   | 5 +++--
 2 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/debian/install b/debian/install
index f1b013a..169926c 100644
--- a/debian/install
+++ b/debian/install
@@ -1,2 +1,2 @@
-*.js		/usr/share/javascript/ie7
-blank.gif	/usr/share/javascript/ie7
+blank.gif	usr/share/javascript/ie7
+build/*		usr/share/javascript/ie7
diff --git a/debian/rules b/debian/rules
index 29d8d8f..1b81665 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,13 +3,14 @@
 	dh $@
 
 override_dh_auto_build:
+	mkdir build
 	for i in src/*.js ; do \
-		uglifyjs -o $$(basename $$i) $$i ; \
+		uglifyjs -o build/$$(basename $$i) $$i ; \
 	done
 	dh_auto_build
 
 override_dh_auto_clean:
-	rm -f *.js
+	rm -rf build
 	dh_auto_clean
 
 get-orig-source:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/ie7-js.git



More information about the Pkg-javascript-commits mailing list