docs: fix garbled UTF-8 characters when generating app dev manual ps/pdf

https://bugzilla.gnome.org/show_bug.cgi?id=639448
This commit is contained in:
Tim-Philipp Müller 2011-01-14 00:20:43 +00:00
parent 6c073ca2c7
commit 4583b4f0f2
2 changed files with 2 additions and 2 deletions

View file

@ -111,7 +111,7 @@ $(DOC).ps: $(BUILDDIR)/$(MAIN) $(EPS_BUILT) $(PNG_SRC) $(FIG_SRC)
@$(MAKE) check-local
@echo "*** Generating PS output ***"
@cp -f $(srcdir)/../image-eps $(BUILDDIR)/image.entities
cd $(BUILDDIR) && docbook2ps -o .. $(MAIN)
cd $(BUILDDIR) && SP_ENCODING="UTF-8" docbook2ps -o .. $(MAIN)
# export LC_PAPER=$(PAPER_LOCALE) && cd $(BUILDDIR) && xmlto ps -o .. $(MAIN)
$(DOC).pdf: $(DOC).ps

View file

@ -1,4 +1,4 @@
<?xml version='1.0'?>
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN"
"http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd" [
<!ENTITY % image-entities SYSTEM "image.entities">