]> pere.pagekite.me Git - text-free-culture-lessig.git/blobdiff - Makefile
Mention how Marc Jeanmougin helped me with the cover image.
[text-free-culture-lessig.git] / Makefile
index f799e68cb22b9b7ffaa9e8551eccd061291f6506..57f31fdd2536664d52ea5076116f46c3cea4f371 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -135,9 +135,9 @@ freeculture.xml:
 
 # <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
@@ -167,6 +167,9 @@ images/cc.svg:
 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 $^ $@