1
0
Fork 0

Create and install pdf file for trek documentation

This commit is contained in:
Dr. Tobias Quathamer 2018-04-27 10:10:08 +02:00
parent eeddca4800
commit 48eba0acd5
4 changed files with 8 additions and 0 deletions

1
debian/clean vendored
View File

@ -1 +1,2 @@
temp-dictionary
debian/trek.pdf

1
debian/control vendored
View File

@ -4,6 +4,7 @@ Priority: optional
Build-Depends: bison,
debhelper (>= 11~),
flex,
groff,
libfl-dev,
libncurses5-dev,
wamerican,

1
debian/docs vendored
View File

@ -7,3 +7,4 @@ SECURITY
THANKS
TODO
YEAR2000
debian/trek.pdf

5
debian/rules vendored
View File

@ -11,6 +11,8 @@ override_dh_auto_build:
cat /usr/share/dict/american-english /usr/share/dict/british-english | \
sort | uniq > temp-dictionary
dh_auto_build
# Generate a pdf file for trek documentation, see #874680
cat trek/USD.doc/trek.me | tbl | groff -me -Tpdf > debian/trek.pdf
override_dh_installdocs:
dh_installdocs
@ -34,6 +36,9 @@ override_dh_install:
mv debian/bsdgames/usr/games/adventure debian/bsdgames/usr/games/bsdgames-adventure
mv debian/bsdgames/usr/share/man/man6/adventure.6 debian/bsdgames/usr/share/man/man6/bsdgames-adventure.6
override_dh_compress:
dh_compress --exclude=.pdf
override_dh_fixperms:
dh_fixperms
chmod -R u+rw debian/bsdgames/usr/