diff --git a/Makefile b/Makefile index 982e043..c9e4be6 100644 --- a/Makefile +++ b/Makefile @@ -12,4 +12,9 @@ edited/%.markdown: original/%.markdown edit-chapter.go Makefile tex/%.tex: edited/%.markdown Makefile pandoc -o $@ $< --top-level-division=chapter +.PHONY: tex tex: $(tex_chapters) + +.PHONY: clean +clean: + $(RM) $(edited_chapters) $(tex_chapters) book.pdf *.aux *.log *.out