Added 'clean' target to src/templates/Makefile, main
Makefile's 'clean' calls it to clean out template-generated files. git-svn-id: https://pandoc.googlecode.com/svn/trunk@237 788f1e2b-df1e-0410-8736-df70ead52e1b
This commit is contained in:
parent
31a956b655
commit
66da30cd78
2 changed files with 5 additions and 0 deletions
1
Makefile
1
Makefile
|
@ -380,5 +380,6 @@ distclean: clean
|
|||
fi
|
||||
|
||||
clean:
|
||||
make -C $(SRCDIR)/templates clean
|
||||
-if [ -f $(BUILDCONF) ]; then $(BUILDCMD) clean; fi
|
||||
-rm -rf $(cleanup_files)
|
||||
|
|
|
@ -14,3 +14,7 @@ Text/Pandoc/Writers/S5.hs: S5.hs $(PROCESSOR) $(VPATH)/ui/default/*
|
|||
|
||||
Text/Pandoc/Writers/DefaultHeaders.hs: DefaultHeaders.hs $(PROCESSOR) $(VPATH)/headers/*
|
||||
perl $(PROCESSOR) $@ $(VPATH)
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
cd $(VPATH); rm -f $(TARGETS)
|
||||
|
|
Loading…
Reference in a new issue