]> pere.pagekite.me Git - text-madewithcc.git/commitdiff
Adjust build rules to build pdf and epub for all translations.
authorPetter Reinholdtsen <pere@hungry.com>
Mon, 5 Feb 2018 06:49:27 +0000 (07:49 +0100)
committerPetter Reinholdtsen <pere@hungry.com>
Thu, 22 Feb 2018 18:12:09 +0000 (18:12 +0000)
Makefile

index 7cea8fd92a97f857b787e00cb6e2e1ced01da3ee..2b831f546c3294b2c4fdfe77ad2b0756da7df167 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -82,11 +82,17 @@ $(SOURCE).xml: $(SOURCE).md fixup-docbook.rb
          rm $$TEMP
 
 pdf: $(SOURCE).pdf
+       for LANG in $(LANGS); do \
+           $(MAKE) $(SOURCE).$$LANG.pdf ; \
+       done
 %.pdf: %.tex
        pdflatex $^
        pdflatex $^
 
 epub: $(SOURCE).epub
+       for LANG in $(LANGS); do \
+           $(MAKE) $(SOURCE).$$LANG.epub ; \
+       done
 %.epub: %.xml
        dbtoepub $^