diff options
Diffstat (limited to 'Makefile')
| -rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -4,7 +4,7 @@ TARGETS=$(SOURCES:%.md=target/%.tex) default: target/ \ target/Makefile \ target/the-fresh-loaf.tex \ - $(TARGETS) include.tex + $(TARGETS) include.tex target/: mkdir target @@ -15,7 +15,7 @@ target/Makefile: TexMakefile target/%.tex: %.md pandoc --top-level-division=chapter $^ -o $@ include.tex: - rm target/include.tex + rm target/include.tex || echo touch target/include.tex for f in $(SOURCES:%.md=%);\ do echo \\include{$$f} >> target/include.tex;\ |
