diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/halloweenmath/Makefile')
-rw-r--r-- | Master/texmf-dist/doc/latex/halloweenmath/Makefile | 35 |
1 files changed, 25 insertions, 10 deletions
diff --git a/Master/texmf-dist/doc/latex/halloweenmath/Makefile b/Master/texmf-dist/doc/latex/halloweenmath/Makefile index 41b9f8d8035..14862e19a65 100644 --- a/Master/texmf-dist/doc/latex/halloweenmath/Makefile +++ b/Master/texmf-dist/doc/latex/halloweenmath/Makefile @@ -1,12 +1,19 @@ # makefile # -# 2017 Apr 16 +# 2017 Apr 25 # # Macro definitions +# +# - parameters: ROOT_NAME = halloweenmath +# (the following need not be redefined, although it can be) +BUNDLE_NAME = $(ROOT_NAME) package +# +# - all the rest: DTX_NAME = $(ROOT_NAME).dtx INS_NAME = $(ROOT_NAME).ins -DOC_AUX_FIL = $(ROOT_NAME).aux $(ROOT_NAME).log \ +LOG_FILE = $(ROOT_NAME).log +DOC_AUX_FIL = $(LOG_FILE) $(ROOT_NAME).aux \ $(ROOT_NAME).glo $(ROOT_NAME).gls \ $(ROOT_NAME).idx $(ROOT_NAME).ind \ $(ROOT_NAME).ilg $(ROOT_NAME).glg \ @@ -17,6 +24,7 @@ CODE_FILES = $(ROOT_NAME).sty # LATEX = pdflatex MAKEINDEX = makeindex +REMOVE = -rm # define GEN_FAKE_INDEX @@ -35,7 +43,7 @@ endef .PHONY: default .PHONY: code doc -.PHONY: clean cleandoc cleanaux cleancode cleanall +.PHONY: clean cleandoc cleanaux cleancode cleanlog cleanall .PHONY: help # Default target @@ -80,15 +88,19 @@ clean: cleanall # Cleaning the code files cleancode: - -rm $(CODE_FILES) + $(REMOVE) $(CODE_FILES) # Cleaning the documentation files cleandoc: cleanaux - -rm $(DOCUM_FILE) + $(REMOVE) $(DOCUM_FILE) -# Cleanng just the auxiliary files used in producing the documentation +# Cleaning just the auxiliary files used in producing the documentation cleanaux: - -rm $(DOC_AUX_FIL) + $(REMOVE) $(DOC_AUX_FIL) + +# Cleaning only the transcript file (e.g., after "make code") +cleanlog: + $(REMOVE) $(LOG_FILE) # Cleaning up all the generated files cleanall: cleancode cleandoc @@ -101,9 +113,9 @@ help: @echo " Generate both the code and the documentation (see below)." @echo @echo " make code" - @echo " Generate the LaTeX sources for all the classes, packages," - @echo " definition files, etc. of the C.D.P. Bundle; these files go" - @echo " into the LaTeX input directories." + @echo " Generate all the LaTeX \"executables\" (e.g., \`.sty' files)" + @echo " of the $(BUNDLE_NAME);" + @echo " these files go into the LaTeX input directories." @echo @echo " make doc" @echo " Generate the documentation (in PDF); the resulting PDF file" @@ -126,6 +138,9 @@ help: @echo " Remove only the auxiliary files used to generate the" @echo " documentation." @echo + @echo " make cleanlog" + @echo " Remove just the transcript file (e.g., after \"make doc\")." + @echo @echo " make help" @echo " Print this help message." @echo |