Generate manpage with help2man
Yadd
2 years ago
5 | 5 |
Priority: optional
|
6 | 6 |
Build-Depends: debhelper-compat (= 13)
|
7 | 7 |
, dh-sequence-nodejs
|
|
8 |
, help2man <!nodoc>
|
8 | 9 |
, node-cjson <!nocheck>
|
9 | 10 |
, node-ebnf-parser <!nocheck>
|
10 | 11 |
, node-escodegen <!nocheck>
|
6 | 6 |
%:
|
7 | 7 |
dh $@
|
8 | 8 |
|
|
9 |
override_dh_auto_build:
|
|
10 |
ifeq (,$(filter nodoc,$(DEB_BUILD_PROFILES)))
|
|
11 |
help2man -N -n 'JS bottom-up parsers generator' lib/cli.js > jison.1
|
|
12 |
endif
|
|
13 |
|
9 | 14 |
override_dh_fixperms:
|
10 | 15 |
dh_fixperms
|
11 | 16 |
chmod +x debian/jison//usr/share/nodejs/jison/lib/cli.js
|