From 0462f4e2a0773ff3aa51bed3f85fc52642c96d1d Mon Sep 17 00:00:00 2001 From: Petter Reinholdtsen Date: Mon, 5 Feb 2018 07:49:27 +0100 Subject: [PATCH] Adjust build rules to build pdf and epub for all translations. --- Makefile | 6 ++++++ 1 file changed, 6 insertions(+) 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 $^ -- 2.47.2