Patch to build and install PDF

This commit is contained in:
Osamu Aoki 2017-05-07 00:09:57 +09:00
parent f91889a881
commit 6989565dd6
5 changed files with 8 additions and 1 deletions

View file

@ -99,7 +99,7 @@ endef
#######################################################################
.PHONY: all
# set LANGPO to limit language to speed up build
all: css html txt epub
all: css html txt epub pdf
#######################################################################
# $ make test # build html for testing (for Translator)

View file

@ -1,3 +1,4 @@
tmp/debian-reference.@@.txt.gz usr/share/debian-reference/
tmp/debian-reference.@@.epub usr/share/debian-reference/
tmp/debian-reference.@@.pdf usr/share/debian-reference/
tmp/*.@@.html usr/share/debian-reference/

4
debian/rules vendored
View file

@ -55,6 +55,10 @@ override_dh_auto_build:
done
dh_auto_build $(BUILDOPT) -- "LANGALL=$(LANGALL)" "LANGPO=$(LANGPO)" all
override_dh_compress:
dh_compress -X.pdf
override_dh_auto_test:
: # no need to test build html pages

1
po/zh-cn.tex Normal file
View file

@ -0,0 +1 @@
\hyphenation{}

1
po/zh-tw.tex Normal file
View file

@ -0,0 +1 @@
\hyphenation{}