X-Git-Url: https://pere.pagekite.me/gitweb/text-madewithcc.git/blobdiff_plain/2e6d8dcf96bc2a09ab496807368f7de402bea3e0..a4c073627da431bbbc06d4f6b876a8efc004d7d9:/Makefile diff --git a/Makefile b/Makefile index 293596a..34418ba 100644 --- a/Makefile +++ b/Makefile @@ -9,6 +9,16 @@ VERSION=20170609-2 PANDOCOPTS = --top-level-division=part -t docbook -f markdown+inline_notes PANDOCOPTS = -t docbook -f markdown+inline_notes +LANGS = es nl nb + +all: pdf + +clean: + rm -f $(SOURCE).pdf $(SOURCE).xml $(SOURCE).md + for LANG in $(LANGS); do \ + rm -f $(SOURCE).$$LANG.pdf $(SOURCE).$$LANG.xml $(SOURCE).$$LANG.md ;\ + done + $(SOURCE).md: $(SOURCE).odt fixup.rb TEMP=`tempfile -p mwcc` && \ pandoc -f odt $(SOURCE).odt -t markdown > $$TEMP && \