From: Petter Reinholdtsen Date: Mon, 5 Feb 2018 06:49:27 +0000 (+0100) Subject: Adjust build rules to build pdf and epub for all translations. X-Git-Tag: es-printed~506 X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/commitdiff_plain/0462f4e2a0773ff3aa51bed3f85fc52642c96d1d?ds=inline Adjust build rules to build pdf and epub for all translations. --- diff --git a/Makefile b/Makefile index 7cea8fd..2b831f5 100644 --- 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 $^