[Pkg-javascript-commits] [node-mapnik] 03/06: Reorder targets in rules file.

Sebastiaan Couwenberg sebastic at moszumanska.debian.org
Fri Apr 8 12:00:50 UTC 2016


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

sebastic pushed a commit to branch master
in repository node-mapnik.

commit af199e655260b193dd90ad284ccd3eb3acb9318c
Author: Bas Couwenberg <sebastic at xs4all.nl>
Date:   Fri Apr 8 13:19:18 2016 +0200

    Reorder targets in rules file.
---
 debian/rules | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/debian/rules b/debian/rules
index bfe0d05..bb97bb7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,13 +9,9 @@ vector_tile_dir=$(CURDIR)/node_modules/mapnik-vector-tile/src
 %:
 	dh $@
 
-override_dh_install:
-	dh_install
-	dh_buildinfo
-	for i in bin/*.js; do \
-		cp $$i $(CURDIR)/debian/node-mapnik/usr/bin/$(basename $ii .js); \
-	done
-	chmod 644 $(CURDIR)/debian/node-mapnik/usr/lib/nodejs/mapnik/lib/_mapnik.node
+override_dh_clean:
+	dh_clean
+	rm -rf $(vector_tile_dir)
 
 override_dh_auto_configure:
 	node-gyp configure \
@@ -29,9 +25,13 @@ override_dh_auto_build:
 
 override_dh_auto_install:
 
-override_dh_clean:
-	dh_clean
-	rm -rf $(vector_tile_dir)
+override_dh_install:
+	dh_install
+	dh_buildinfo
+	for i in bin/*.js; do \
+		cp $$i $(CURDIR)/debian/node-mapnik/usr/bin/$(basename $ii .js); \
+	done
+	chmod 644 $(CURDIR)/debian/node-mapnik/usr/lib/nodejs/mapnik/lib/_mapnik.node
 
 override_dh_shlibdeps:
 	dpkg-shlibdeps \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/node-mapnik.git



More information about the Pkg-javascript-commits mailing list