mirror of
https://salsa.debian.org/games-team/bsdgames
synced 2025-02-02 15:07:16 -05:00
Create and install pdf file for trek documentation
This commit is contained in:
parent
eeddca4800
commit
48eba0acd5
1
debian/clean
vendored
1
debian/clean
vendored
@ -1 +1,2 @@
|
|||||||
temp-dictionary
|
temp-dictionary
|
||||||
|
debian/trek.pdf
|
||||||
|
1
debian/control
vendored
1
debian/control
vendored
@ -4,6 +4,7 @@ Priority: optional
|
|||||||
Build-Depends: bison,
|
Build-Depends: bison,
|
||||||
debhelper (>= 11~),
|
debhelper (>= 11~),
|
||||||
flex,
|
flex,
|
||||||
|
groff,
|
||||||
libfl-dev,
|
libfl-dev,
|
||||||
libncurses5-dev,
|
libncurses5-dev,
|
||||||
wamerican,
|
wamerican,
|
||||||
|
1
debian/docs
vendored
1
debian/docs
vendored
@ -7,3 +7,4 @@ SECURITY
|
|||||||
THANKS
|
THANKS
|
||||||
TODO
|
TODO
|
||||||
YEAR2000
|
YEAR2000
|
||||||
|
debian/trek.pdf
|
||||||
|
5
debian/rules
vendored
5
debian/rules
vendored
@ -11,6 +11,8 @@ override_dh_auto_build:
|
|||||||
cat /usr/share/dict/american-english /usr/share/dict/british-english | \
|
cat /usr/share/dict/american-english /usr/share/dict/british-english | \
|
||||||
sort | uniq > temp-dictionary
|
sort | uniq > temp-dictionary
|
||||||
dh_auto_build
|
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:
|
override_dh_installdocs:
|
||||||
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/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
|
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:
|
override_dh_fixperms:
|
||||||
dh_fixperms
|
dh_fixperms
|
||||||
chmod -R u+rw debian/bsdgames/usr/
|
chmod -R u+rw debian/bsdgames/usr/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user