]> pere.pagekite.me Git - text-madewithcc.git/blobdiff - Makefile
Merge branch 'master' of https://hosted.weblate.org/git/madewithcc/translation
[text-madewithcc.git] / Makefile
index ebedadfbb96d490c96db3d2b8bbd94c5d5df5218..3e55d9509eb48536e9dda8e38c7e264a29677f5a 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -54,7 +54,12 @@ $(SOURCE).md: $(SOURCE).odt fixup.rb
 pot: po/mwcc.pot po/*/mwcc.po
 po/mwcc.pot: $(SOURCE).xml
        TEMP=`tempfile -p mwcc` && \
-       po4a-gettextize -f docbook -m $(SOURCE).xml -p $$TEMP -M utf-8 --package-name 'Made with Creative Commons' --package-version $(VERSION) && \
+       po4a-gettextize -f docbook -m $(SOURCE).xml -p $$TEMP -M utf-8 \
+               -o nodefault="<imageobject> <copyright> <publisher> <address> <city>" \
+               -o untranslated="<imageobject>" \
+               -o translated='<copyright> <publisher><publisername> <publisher><address><city>' \
+               --package-name 'Made with Creative Commons' \
+               --package-version $(VERSION) && \
        echo '# MADE WITH CREATIVE COMMONS' > $@ && \
        echo '# Copyright (C) 2017 by Creative Commons.' >> $@ && \
        echo '# This file is published under a Creative Commons Attribution-ShareAlike license (CC BY-SA), version 4.0' >> $@ && \