rules.mk, tex.mk: Played around with prereqclean target

This commit is contained in:
Jan Lindemann 2001-09-11 16:24:32 +00:00 committed by Jan Lindemann
commit e90085ac8d
2 changed files with 11 additions and 2 deletions

View file

@ -77,7 +77,7 @@ doneclean:
execlean: allclean objclean textclean
distclean: clean objclean textclean tmpclean vcdistclean
distclean: clean objclean textclean tmpclean vcdistclean prereqclean
localclean: $(LOCAL_CLEAN)
rm -rf $(CLEAN)
@ -87,3 +87,6 @@ libclean:
vcdistclean:
rm -rf *.plg *.opt *.ncb Debug *.exe dist *.ilk
prereqclean:
for dir in $(PREREQ_DIR); do make -C $$dir clean; done

View file

@ -125,7 +125,13 @@ pdf: dirs $(OUT).pdf.zip
%.tex: $(TEX_TMPL_DIR)/%.tex
cp $< $@
%: $(TEX_TMPL_DIR)/%.tmpl
%.tex: %.tex.tmpl
$(mangle_tmpl)
%.tex: $(TEX_TMPL_DIR)/%.tex.tmpl
$(mangle_tmpl)
%.html: $(TEX_TMPL_DIR)/%.html.tmpl
$(mangle_tmpl)
# generate from local rules