[Pkg-javascript-commits] [node-ws] 04/07: - Use a more elegant way of excluding VCS files from being installed

Ximin Luo infinity0 at debian.org
Sun Jan 17 12:09:07 UTC 2016


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

infinity0 pushed a commit to branch master
in repository node-ws.

commit b790fd108728b3a410e24df4d5ba0705f0dbf78c
Author: Ximin Luo <infinity0 at debian.org>
Date:   Sun Jan 17 12:09:27 2016 +0100

    - Use a more elegant way of excluding VCS files from being installed
---
 debian/patches/rm-vcs-control | 9 ---------
 debian/patches/series         | 1 -
 debian/rules                  | 3 +++
 3 files changed, 3 insertions(+), 10 deletions(-)

diff --git a/debian/patches/rm-vcs-control b/debian/patches/rm-vcs-control
deleted file mode 100644
index b308ff6..0000000
--- a/debian/patches/rm-vcs-control
+++ /dev/null
@@ -1,9 +0,0 @@
-Description: Remove VCS control files
-Author: Ximin Luo <infinity0 at debian.org>
-Forwarded: not-needed
----
-This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
---- a/examples/fileapi/.gitignore
-+++ /dev/null
-@@ -1 +0,0 @@
--uploaded
diff --git a/debian/patches/series b/debian/patches/series
index b52c1cc..9248826 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,4 +1,3 @@
 nodejs-shebang
-rm-vcs-control
 only-use-native
 rm-redundant-legacy-include
diff --git a/debian/rules b/debian/rules
index da51a0f..3bb271c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,6 +20,9 @@ override_dh_auto_build:
 override_dh_auto_test:
 	echo "skipping tests; test dependencies not yet in debian"
 
+override_dh_installexamples:
+	dh_installexamples -X.gitignore
+
 # since we're building the native libs, ignore the fallbacks
 # also have to rename .node to .so so they are detected by dh_strip dh_shlibdeps etc
 override_dh_install:

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



More information about the Pkg-javascript-commits mailing list