diff options
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -73,3 +73,12 @@ XELATEX = xelatex -no-shell-escape -halt-on-error -interaction=batchmode $(XELATEX) $< $(XELATEX) $< $(XELATEX) $< + +clean: + rm -f $(foreach ext,pdf aux log out toc tex,$(flavors:%=$(stem)-%.$(ext))) + rm -f $(foreach ext,native bib mw,$(stem:%=%.$(ext))) + rm -f $(foreach ext,aux tex,$(includes:%.tex=%.$(ext))) + rm -f $(mediawiki_includes) + +distclean: clean + rm -f $(stem:%=%.raw) |