[Pkg-javascript-commits] [node-bootstrap-tour] 01/01: Simplify installation of files

Julien Puydt julien.puydt at laposte.net
Wed Oct 14 13:48:17 UTC 2015


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

jpuydt-guest pushed a commit to branch master
in repository node-bootstrap-tour.

commit 9a802d28b2f44af9f1270f982c4cace27f0d29c1
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Wed Oct 14 15:47:26 2015 +0200

    Simplify installation of files
---
 debian/libjs-bootstrap-tour.install | 5 ++++-
 debian/rules                        | 8 --------
 2 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/debian/libjs-bootstrap-tour.install b/debian/libjs-bootstrap-tour.install
index 37f5bed..350b2e7 100644
--- a/debian/libjs-bootstrap-tour.install
+++ b/debian/libjs-bootstrap-tour.install
@@ -1 +1,4 @@
-package.json usr/lib/nodejs/bootstrap-tour/
+bootstrap-tour.js	usr/share/javascript/bootstrap-tour/
+bootstrap-tour.min.js	usr/share/javascript/bootstrap-tour/
+bootstrap-tour.css	usr/share/javascript/bootstrap-tour/
+bootstrap-tour.min.css	usr/share/javascript/bootstrap-tour/
\ No newline at end of file
diff --git a/debian/rules b/debian/rules
index 9590f95..ab39af9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,8 +3,6 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
-BSTDIR=debian/libjs-bootstrap-tour/usr/share/javascript/bootstrap-tour
-
 %:
 	dh $@
 
@@ -13,9 +11,3 @@ override_dh_auto_build:
 	uglifyjs bootstrap-tour.js -o bootstrap-tour.min.js
 	lessc src/less/bootstrap-tour.less bootstrap-tour.css
 	cleancss bootstrap-tour.css -o bootstrap-tour.min.css
-
-override_dh_auto_install:
-	dh_auto_install
-	mkdir -p $(BSTDIR)
-	cp bootstrap-tour.js bootstrap-tour.min.js $(BSTDIR)
-	cp bootstrap-tour.css bootstrap-tour.min.css $(BSTDIR)

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-bootstrap-tour.git



More information about the Pkg-javascript-commits mailing list