in debian, generate (via help2man) and install cool-retro-term(1)

This commit is contained in:
Barak A. Pearlmutter 2016-04-09 16:49:06 +01:00
parent 1b1fc2422b
commit ce0af12e16
3 changed files with 15 additions and 0 deletions

View File

@ -1,4 +1,5 @@
/*.debhelper.log
/*.substvars
/cool-retro-term.1
/cool-retro-term/
/files

View File

@ -0,0 +1 @@
debian/cool-retro-term.1

View File

@ -9,3 +9,16 @@ include /usr/share/dpkg/buildflags.mk
%:
dh $@ --parallel
ver := $(shell dpkg-parsechangelog --show-field 'Version')
debian/cool-retro-term.1: cool-retro-term
help2man --no-info \
--no-discard-stderr \
--version-string="$(ver)" \
--name="Terminal for X with a highly-configurable highly-retro look." \
--section=1 \
./$< \
> $@
override_dh_auto_install: debian/cool-retro-term.1
dh_auto_install