[Pkg-javascript-commits] [underscore.string] 09/14: update rules

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Jul 28 06:23:28 UTC 2016


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

praveen pushed a commit to branch master
in repository underscore.string.

commit 3b0226d8f59b5e47f414032e5099bb6c65c120af
Author: Praveen Arimbrathodiyil <praveen at debian.org>
Date:   Mon Jul 11 13:31:54 2016 +0530

    update rules
---
 debian/rules | 26 ++------------------------
 1 file changed, 2 insertions(+), 24 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0d1a886..eac98a8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,29 +3,7 @@
 	dh $@
 
 override_dh_auto_build:
-	uglifyjs -o lib/underscore.string.min.js lib/underscore.string.js
+	uglifyjs -o dist/underscore.string.min.js dist/underscore.string.js
 
 override_dh_auto_clean:
-	rm -f lib/*.min.js
-
-get-orig-source:
-	OUTDIR=$$PWD ; \
-	MAKEFILE=`echo $(MAKEFILE_LIST) | awk '{ print $$1 }'` ; \
-	FILE=`readlink -f $$MAKEFILE` ; \
-	DIR=`dirname $$FILE` ; \
-	cd $$DIR/.. ; \
-	TMP=`mktemp -d` ; \
-	if ! USCAN=`uscan --destdir $$TMP` ; then exit 1 ; fi ; \
-	VERSION=`echo $$USCAN | sed -n 's/.*Newer version (\(.*\)) available.*/\1/p'` ; \
-	cd $$TMP ; \
-	tar xzf underscore.string-$$VERSION.tar.gz ; \
-	cd underscore.string-$$VERSION ; \
-	rm -rf dist ; \
-	rm -rf test ; \
-	cd .. ; \
-	tar c underscore.string-$$VERSION | gzip -9 > underscore.string_$$VERSION+dfsg.orig.tar.gz ; \
-	rm -rf underscore.string-$$VERSION ; \
-	mv underscore.string_$$VERSION+dfsg.orig.tar.gz $$OUTDIR ; \
-	cd $$OUTDIR ; \
-	rm -rf $$TMP ; \
-	echo Saved file at underscore.string_$$VERSION+dfsg.orig.tar.gz
+	rm -f dist/*.min.js

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



More information about the Pkg-javascript-commits mailing list