# <beginpage> workaround can be removed when BTS #684137 is fixed in
# po4a.
-freeculture.pot: freeculture.xml
+freeculture.pot: freeculture.xml cover-text.xml
po4a-gettextize -o nodefault='<beginpage>' -o inline='<beginpage>' \
- -f docbook -m $^ > $@.new && mv $@.new $@
+ -f docbook -m freeculture.xml -m cover-text.xml > $@.new && mv $@.new $@
stats: update-stats progress.png
update-stats: freeculture.nb.po lint.nb
images/cc.png: images/cc.svg
inkscape -z -D --export-height=200 -D --export-png=$(shell pwd)/$@ $^
+images/cover-art.pdf: images/cover-art.svg
+ inkscape --export-pdf=$@ $^
+
.xcf.png:
convert $^ $@