diff options
author | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-15 15:34:48 +0000 |
---|---|---|
committer | Mattia Rizzolo <mattia@mapreri.org> | 2015-11-15 15:34:48 +0000 |
commit | 39c66d33418be5c2c8b2aa5b2b28fce0c401451c (patch) | |
tree | e263235e82b7225348130021155f38aed80b0706 /Documentation/Makefile | |
parent | f711827cef4628a8caed03e3d8bb2b6b825345ce (diff) | |
download | pbuilder-39c66d33418be5c2c8b2aa5b2b28fce0c401451c.tar pbuilder-39c66d33418be5c2c8b2aa5b2b28fce0c401451c.tar.gz |
add an empty POT file in the documentation directory, to ease the work of translators
Closes: #629947
Diffstat (limited to 'Documentation/Makefile')
-rw-r--r-- | Documentation/Makefile | 6 |
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)/$<)" |