diff options
Diffstat (limited to 'Master/texmf-dist/source/latex/ionumbers/Makefile')
-rw-r--r-- | Master/texmf-dist/source/latex/ionumbers/Makefile | 18 |
1 files changed, 13 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/ionumbers/Makefile b/Master/texmf-dist/source/latex/ionumbers/Makefile index 7f8740747b9..a0f196f3c16 100644 --- a/Master/texmf-dist/source/latex/ionumbers/Makefile +++ b/Master/texmf-dist/source/latex/ionumbers/Makefile @@ -21,13 +21,14 @@ # PACKAGE := ionumbers +TESTFILE := ionumbers_test PDFLATEX := pdflatex MAKEINDEX := makeindex -.PHONY: all pkg doc clean distclean +.PHONY: all pkg doc test clean distclean -all: pkg doc +all: pkg doc test %.sty: %.ins %.dtx $(RM) $@ @@ -42,17 +43,24 @@ all: pkg doc %.gls: %.glo $(MAKEINDEX) -s gglo.ist -o $@ $< -%.pdf: %.dtx %.sty %.ind %.gls +$(PACKAGE).pdf: %.pdf: %.dtx %.sty %.ind %.gls + $(PDFLATEX) -interaction=nonstopmode $< + $(PDFLATEX) -interaction=nonstopmode $< + $(PDFLATEX) -interaction=nonstopmode $< + +$(TESTFILE).pdf: %.pdf: %.tex $(PACKAGE).sty $(PDFLATEX) -interaction=nonstopmode $< $(PDFLATEX) -interaction=nonstopmode $< $(PDFLATEX) -interaction=nonstopmode $< pkg: $(PACKAGE).sty +test: $(TESTFILE).pdf + doc: $(PACKAGE).pdf clean: - $(RM) *.aux *.glo *.gls *.idx *.ilg *.ind *.log *.toc + $(RM) *.aux *.glo *.gls *.idx *.ilg *.ind *.log *.toc *~ distclean: clean - $(RM) $(PACKAGE).sty $(PACKAGE).pdf + $(RM) $(PACKAGE).sty $(PACKAGE).pdf $(TESTFILE).pdf |