Fix 'recode' FTBFS with --enable-pdf-docs.

r14.0.x
Darrell Anderson 13 years ago
parent 8bb75767eb
commit 672550caac

@ -106,7 +106,7 @@ if GENERATE_PDF
kmymoney-phb.pdf: $(DOCBOOK_FILES)
$(MAKE) get-files
$(MEINPROC) --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/kde-nochunk.xsl $(srcdir)/phb.docbook -o index.html
recode utf8..latin1 index.html
recode utf8..latin1 index.html || :
html2ps -o kmymoney-phb.ps -n index.html
ps2pdf kmymoney-phb.ps kmymoney-phb.pdf
rm index.html kmymoney-phb.ps

@ -111,7 +111,7 @@ PDF_TARGET = kmymoney-user.pdf
kmymoney-user.pdf: $(DOCBOOK_FILES) $(SCREENSHOT_FILES)
$(MAKE) get-files
$(MEINPROC) --check --stylesheet `dirname $(KDE_XSL_STYLESHEET)`/kde-nochunk.xsl $(srcdir)/index.docbook -o index.html;
recode utf8..latin1 index.html
recode utf8..latin1 index.html || :
html2ps -o kmymoney-user.ps -n index.html
ps2pdf kmymoney-user.ps kmymoney-user.pdf
rm index.html kmymoney-user.ps

Loading…
Cancel
Save