For ease of switching rules for "eps --> pdf" conversion, add targets "cleanfigs", "cleanfigs-eps", "cleanfigs-svg", and "figs". Signed-off-by: Akira Yokosawa <akiyks@xxxxxxxxx> --- Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/Makefile b/Makefile index eca23aab..e2838779 100644 --- a/Makefile +++ b/Makefile @@ -204,6 +204,7 @@ BASE_DEPENDS := perfbook.tex $(foreach v,tcb 1c msns mss mstx msr msn msnt sf nq .PHONY: help help-official help-full help-semiofficial help-paper help-draft .PHONY: help-experimental help-prefixed .PHONY: paper-clean periodcheck punctcheck punctcheck-auto +.PHONY: cleanfigs cleanfigs-eps cleanfigs-svg figs all: punctcheck-auto @@ -625,6 +626,17 @@ ls-unused: neatfreak: distclean find . -name '*.pdf' | xargs rm -f +cleanfigs-eps: + rm -f $(EPSSOURCES_FROM_TEX) $(EPSSOURCES_FROM_DOT) $(EPSSOURCES_FROM_FIG) + rm -f $(PDFTARGETS_OF_EPS) + +cleanfigs-svg: + rm -f $(PDFTARGETS_OF_SVG) + +cleanfigs: cleanfigs-eps cleanfigs-svg + +figs: $(PDFTARGETS_OF_EPS) $(PDFTARGETS_OF_SVG) + punctcheck: utilities/punctcheck.sh utilities/cleverefcheck.sh -- 2.17.1