[Pkg-javascript-commits] [node-jsondiffpatch] 06/06: add man page for jsondiffpatch binary

Andrew Kelley andrewrk-guest at moszumanska.debian.org
Tue Jul 1 17:49:16 UTC 2014


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

andrewrk-guest pushed a commit to branch master
in repository node-jsondiffpatch.

commit 05e330c93d787df226a51c7ca4a1f7e95c966de9
Author: Andrew Kelley <superjoe30 at gmail.com>
Date:   Tue Jul 1 17:43:30 2014 +0000

    add man page for jsondiffpatch binary
---
 debian/control  | 1 +
 debian/manpages | 1 +
 debian/rules    | 7 +++++--
 3 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/debian/control b/debian/control
index a877cfa..680c453 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Andrew Kelley <superjoe30 at gmail.com>
 Build-Depends:
  debhelper (>= 8)
  , dh-buildinfo
+ , help2man
  , node-chalk
  , nodejs
 Standards-Version: 3.9.5
diff --git a/debian/manpages b/debian/manpages
new file mode 100644
index 0000000..2e4844e
--- /dev/null
+++ b/debian/manpages
@@ -0,0 +1 @@
+debian/jsondiffpatch.1
diff --git a/debian/rules b/debian/rules
index de57af0..a848c5d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,9 +7,12 @@
 %:
 	dh $@
 
-#override_dh_auto_build:
+override_dh_auto_build:
+	dh_auto_build
+	debian/rules debian/jsondiffpatch.1
 
 #override_dh_auto_test:
 
 
-
+debian/jsondiffpatch.1:
+	help2man -N -n "Diff two JSON files with colored output" bin/jsondiffpatch -o "$@"

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



More information about the Pkg-javascript-commits mailing list