mirror of
ssh://git.janware.com/srv/git/janware/proj/jw-pkg
synced 2026-01-21 21:57:38 +01:00
rules.mk, tex.mk: Played around with prereqclean target
This commit is contained in:
parent
a36f16a3a2
commit
e90085ac8d
2 changed files with 11 additions and 2 deletions
|
|
@ -77,7 +77,7 @@ doneclean:
|
||||||
|
|
||||||
execlean: allclean objclean textclean
|
execlean: allclean objclean textclean
|
||||||
|
|
||||||
distclean: clean objclean textclean tmpclean vcdistclean
|
distclean: clean objclean textclean tmpclean vcdistclean prereqclean
|
||||||
|
|
||||||
localclean: $(LOCAL_CLEAN)
|
localclean: $(LOCAL_CLEAN)
|
||||||
rm -rf $(CLEAN)
|
rm -rf $(CLEAN)
|
||||||
|
|
@ -87,3 +87,6 @@ libclean:
|
||||||
|
|
||||||
vcdistclean:
|
vcdistclean:
|
||||||
rm -rf *.plg *.opt *.ncb Debug *.exe dist *.ilk
|
rm -rf *.plg *.opt *.ncb Debug *.exe dist *.ilk
|
||||||
|
|
||||||
|
prereqclean:
|
||||||
|
for dir in $(PREREQ_DIR); do make -C $$dir clean; done
|
||||||
|
|
|
||||||
|
|
@ -125,7 +125,13 @@ pdf: dirs $(OUT).pdf.zip
|
||||||
%.tex: $(TEX_TMPL_DIR)/%.tex
|
%.tex: $(TEX_TMPL_DIR)/%.tex
|
||||||
cp $< $@
|
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)
|
$(mangle_tmpl)
|
||||||
|
|
||||||
# generate from local rules
|
# generate from local rules
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue