aboutsummaryrefslogtreecommitdiff
path: root/Documentation/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r--Documentation/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Documentation/Makefile b/Documentation/Makefile
index f6ac106..abe2e20 100644
--- a/Documentation/Makefile
+++ b/Documentation/Makefile
@@ -9,10 +9,11 @@
# the main XML file which is source to all documents
MASTERXML=pbuilder-doc.xml
+MASTERPOT=pbuilder-doc.po
HTMLDOCS= pbuilder-doc.html pbuilder-doc.ja.html pbuilder-doc.fr.html pbuilder-doc.de.html
ALIOTH_FILEHOSTING:=alioth.debian.org
-all: $(HTMLDOCS)
+all: $(MASTERPOT) $(HTMLDOCS)
%.html: %.xml pbuilder-doc.xsl
xsltproc pbuilder-doc.xsl $< > $@.tmp
@@ -33,6 +34,9 @@ install: $(HTMLDOCS) pbuilder-doc.pdf
install -m 644 -o root -g root $(HTMLDOCS) $(DESTDIR)/usr/share/doc/pbuilder/
install -m 644 -o root -g root pbuilder-doc.pdf $(DESTDIR)/usr/share/doc/pbuilder/
+$(MASTERPOT):
+ po4a-gettextize -f docbook -m $(MASTERXML) -p $(MASTERPOT)
+
preview: pbuilder-doc.html
mozilla-firefox -remote "openfile($(PWD)/$<)"