diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/sf298/Makefile |
Initial commit
Diffstat (limited to 'macros/latex/contrib/sf298/Makefile')
-rw-r--r-- | macros/latex/contrib/sf298/Makefile | 95 |
1 files changed, 95 insertions, 0 deletions
diff --git a/macros/latex/contrib/sf298/Makefile b/macros/latex/contrib/sf298/Makefile new file mode 100644 index 0000000000..63857045c7 --- /dev/null +++ b/macros/latex/contrib/sf298/Makefile @@ -0,0 +1,95 @@ +PACKAGE = sf298 +######################################################################## +## LaTeX2e Makefile +## +## Update the following defines for your local configuration, +## +CONTRIB = /usr/share/texmf/tex/latex/misc +## +CP = cp +DVIPS = dvips -t letter +GZIP = gzip +LATEX = latex +MAKEINDEX = makeindex +PDFLATEX = pdflatex +PS2PDF = ps2pdf +RM = rm +TAR = tar +######################################################################## +## make [all] Generates the style (.sty) file, the doc and +## test files (.ps) and cleans up the directory. +## make [un]install Install or uninstall the style (.sty) file from +## the CONTRIB area. +## make [very]clean Clean out various auxillary files. "veryclean" +## cleans out more stuff. +######################################################################## +## make dvi Generate the *.dvi version of the documentation. +## make [full]ps Generate the documentation. The "fullps" version +## adds the change log and the cross-references. +## make idx Generate the change log and the cross-references +## (for fullps -- requires MAKEINDEX). +## make sty Generate the style (.sty) file. +## make pdf Generate the *.pdf version of the documentation. +######################################################################## +## make test Runs test program(s). +## make distribtion Builds a distribution (.tar.gz) file. +######################################################################## + +all: pdf test clean + +install: sty + $(CP) $(PACKAGE).sty $(CONTRIB) +uninstall: ; -$(RM) -f $(CONTRIB)/$(PACKAGE).sty +clean: ; -$(RM) -f *.dvi *.log *.aux *.lof *.lot *.lom *.toc + -$(RM) -f *.idx *.ind *.glo *.gls *.ilg *.out *~ +veryclean: clean + -$(RM) -f *.sty *.cls *.ps *.pdf *.gz *pk ltxdoc.cfg + +dvi: $(PACKAGE).dvi +fullps: dvi idx ps +idx: $(PACKAGE).ind $(PACKAGE).gls + $(LATEX) $(PACKAGE).dtx + $(LATEX) $(PACKAGE).dtx +ps: $(PACKAGE).ps +sty: $(PACKAGE).sty +pdf: fullps + $(PS2PDF) $(PACKAGE).ps > $(PACKAGE).pdf + +test: $(PACKAGE).sty + $(LATEX) sample298.tex + $(LATEX) sample298.tex + $(DVIPS) -o sample298.ps sample298.dvi + +distribution: ; mkdir $(PACKAGE) + $(CP) -p Makefile $(PACKAGE).pdf $(PACKAGE) + $(CP) -p $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE) + $(TAR) -cvf $(PACKAGE).tar ./$(PACKAGE) + $(RM) -rf $(PACKAGE) + $(GZIP) -9 $(PACKAGE).tar + + +$(PACKAGE).aux: $(PACKAGE).dtx $(PACKAGE).sty + $(LATEX) $(PACKAGE).dtx + $(LATEX) $(PACKAGE).dtx + +$(PACKAGE).dvi: $(PACKAGE).dtx $(PACKAGE).sty $(PACKAGE).aux + $(LATEX) $(PACKAGE).dtx + $(LATEX) $(PACKAGE).dtx + +$(PACKAGE).glo: $(PACKAGE).dtx $(PACKAGE).sty + $(LATEX) $(PACKAGE).dtx + +$(PACKAGE).gls: $(PACKAGE).glo + -$(MAKEINDEX) -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo + +$(PACKAGE).idx: $(PACKAGE).dtx $(PACKAGE).sty + $(LATEX) $(PACKAGE).dtx + +$(PACKAGE).ind: $(PACKAGE).idx + -$(MAKEINDEX) -s gind.ist $(PACKAGE).idx + +$(PACKAGE).ps: $(PACKAGE).dvi + $(DVIPS) -o $(PACKAGE).ps $(PACKAGE).dvi + +$(PACKAGE).sty: $(PACKAGE).dtx $(PACKAGE).ins + $(LATEX) $(PACKAGE).ins |