[Pkg-javascript-commits] [node-tap] 05/14: Build man page, and clean too

Jérémy Lal kapouer at moszumanska.debian.org
Mon Oct 20 00:02:33 UTC 2014


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

kapouer pushed a commit to branch master
in repository node-tap.

commit 0990aa8066e063074594d3453e6fed6d428619b2
Author: Jérémy Lal <kapouer at melix.org>
Date:   Mon Oct 20 01:33:28 2014 +0200

    Build man page, and clean too
---
 debian/clean    | 1 +
 debian/control  | 1 +
 debian/manpages | 1 +
 debian/rules    | 7 +++----
 4 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/debian/clean b/debian/clean
new file mode 100644
index 0000000..78459fc
--- /dev/null
+++ b/debian/clean
@@ -0,0 +1 @@
+debian/tap.1
diff --git a/debian/control b/debian/control
index b19524b..4f62140 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Jérémy Lal <kapouer at melix.org>
 Build-Depends:
  debhelper (>= 8)
  , dh-buildinfo
+ , help2man
  , nodejs
 Standards-Version: 3.9.6
 Homepage: https://github.com/isaacs/node-tap
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..78459fc
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/tap.1
diff --git a/debian/rules b/debian/rules
index de57af0..abbf698 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,8 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
-
-#override_dh_auto_test:
-
+override_dh_auto_build_indep: debian/tap.1
 
+debian/tap.1:
+	help2man -N -n "Test-Anything-Protocol module for Node.js" bin/tap.js -o "$@"
 

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



More information about the Pkg-javascript-commits mailing list