[Pkg-javascript-commits] [node-js-yaml] 01/01: Just generate manpage on build
Jérémy Lal
kapouer at moszumanska.debian.org
Sat Nov 12 09:24:35 UTC 2016
This is an automated email from the git hooks/post-receive script.
kapouer pushed a commit to branch master
in repository node-js-yaml.
commit 82b66a03d73bba006afc1e38332d1530e7b28405
Author: Jérémy Lal <kapouer at melix.org>
Date: Sat Nov 12 10:24:17 2016 +0100
Just generate manpage on build
---
debian/control | 1 +
debian/js-yaml.1 | 27 ---------------------------
debian/rules | 7 ++++++-
3 files changed, 7 insertions(+), 28 deletions(-)
diff --git a/debian/control b/debian/control
index 3a405b9..b95eec3 100644
--- a/debian/control
+++ b/debian/control
@@ -6,6 +6,7 @@ Uploaders: Ross Gammon <rosco2 at ubuntu.com>
Build-Depends: debhelper (>= 9),
dh-buildinfo,
nodejs,
+ help2man,
mocha,
node-argparse,
node-esprima
diff --git a/debian/js-yaml.1 b/debian/js-yaml.1
deleted file mode 100644
index 4188175..0000000
--- a/debian/js-yaml.1
+++ /dev/null
@@ -1,27 +0,0 @@
-.\" DO NOT MODIFY THIS FILE! It was generated by help2man 1.47.3.
-.TH JS-YAML.JS "1" "September 2016" "js-yaml.js 3.6.1" "User Commands"
-.SH NAME
-js-yaml.js \- JavaScript YAML parser and dumper
-.SH DESCRIPTION
-usage: js\-yaml [\-h] [\-v] [\-c] [\-t] [file]
-.SS "Positional arguments:"
-.TP
-file
-File to read, utf\-8 encoded without BOM
-.SS "Optional arguments:"
-.TP
-\fB\-h\fR, \fB\-\-help\fR
-Show this help message and exit.
-.TP
-\fB\-v\fR, \fB\-\-version\fR
-Show program's version number and exit.
-.TP
-\fB\-c\fR, \fB\-\-compact\fR
-Display errors in compact mode
-.TP
-\fB\-t\fR, \fB\-\-trace\fR
-Show stack trace on error
-.SH AUTHORS
-.B js-yaml
-was primarily authored by Vladimir Zapparov with contributions
-from Aleksey V Zapparov, Vitaly Puzrin, and Martin Grenfell.
diff --git a/debian/rules b/debian/rules
index 230c79a..dae1709 100755
--- a/debian/rules
+++ b/debian/rules
@@ -16,5 +16,10 @@ override_dh_auto_test:
override_dh_fixperms:
dh_fixperms --exclude usr/lib/nodejs/js-yaml/bin/js-yaml.js
-help2man:
+override_dh_installman:
help2man --no-info --name "JavaScript YAML parser and dumper" --include=debian/help2man.include bin/js-yaml.js > debian/js-yaml.1
+ dh_installman
+
+override_dh_auto_clean:
+ dh_auto_clean
+ rm -f debian/js-yaml.1
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-js-yaml.git
More information about the Pkg-javascript-commits
mailing list