From e00599b235e942382cf3b0f9abcac06a348ade45 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 1 Aug 2011 23:06:37 +0000 Subject: new latex package bhcexam (1aug11) git-svn-id: svn://tug.org/texlive/trunk@23304 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/doc/latex/bhcexam/Makefile | 88 ++++++++++++++++++++++++++++ 1 file changed, 88 insertions(+) create mode 100644 Master/texmf-dist/doc/latex/bhcexam/Makefile (limited to 'Master/texmf-dist/doc/latex/bhcexam/Makefile') diff --git a/Master/texmf-dist/doc/latex/bhcexam/Makefile b/Master/texmf-dist/doc/latex/bhcexam/Makefile new file mode 100644 index 00000000000..c7875fbf417 --- /dev/null +++ b/Master/texmf-dist/doc/latex/bhcexam/Makefile @@ -0,0 +1,88 @@ +PACKAGE = BHCexam +######################################################################## +## LaTeX2e Makefile +## +## Update the following defines for your local configuration, +## +TEXMFDIR = ~/texmf/tex/latex/BHCexam +GZIP = gzip +XELATEX = xelatex +PDFLATEX = pdflatex +MAKEINDEX = makeindex +######################################################################## +## make [all] Generates the class(.cls) file, the configuration(.cfg) +## file and the documentation (.pdf). If you don't have +## the required MAKEINDEX (along with `gglo.ist' and +## `gind.ist'), then change the first dependency +## of "all" from "fullpdf" to "pdf" below. +## make [un]install Install or uninstall the class(.cls) file and +## the configuration(.cfg) file. +## make [very]clean Clean out various auxillary files. "veryclean" +## cleans out more stuff. +######################################################################## +## make [full]doc Generate the documentation. The "fulldoc" version +## adds the change log and the cross-references. +## make idx Generate the change log and the cross-references +## (for fulldoc -- requires MAKEINDEX). +## make cls Generate the class(.cls) file and the +## configuration(.cfg) file. + +######################################################################## +## make test Run test file(s) +## make src Builds a src distribution (.tar.gz) file. +## make distribtion Builds a distribution (.tar.gz) file. +######################################################################## + +all: veryclean cls fulldoc test clean + +install: cls + cp $(PACKAGE).{cls,cfg} $(TEXMFDIR) +uninstall: ; rm $(TEXMFDIR)/$(PACKAGE).{cls,cfg} +clean: ; -rm -f *.dvi *.log *.aux *.lof *.lot *.toc + -rm -f *.idx *.ind *.glo *.gls *.ilg *.out +veryclean: ; -rm -f *.dvi *.log *.aux *.lof *.lot *.toc + -rm -f *.idx *.ind *.glo *.gls *.ilg *.out + -rm -f *.idx *.ind *.glo *.gls *.ilg *.out + -rm -f *.sty *.cls *.pdf *pk *.cfg *.tar + + +doc: ; $(XELATEX) $(PACKAGE).dtx + +cls: ; $(XELATEX) $(PACKAGE).ins + +fulldoc: doc $(PACKAGE).gls $(PACKAGE).ind + $(XELATEX) $(PACKAGE).dtx + +src: ; mkdir $(PACKAGE) + cp -p README Makefile $(PACKAGE) + cp -p $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE) + cp -p test*.tex $(PACKAGE) + tar -cvf $(PACKAGE)-src.tar ./$(PACKAGE) + rm -rf $(PACKAGE) + $(GZIP) -9 $(PACKAGE)-src.tar + +distribution: veryclean cls fulldoc test clean + mkdir $(PACKAGE) + cp -p $(PACKAGE).cls $(PACKAGE).cfg $(PACKAGE) + cp -p *.tex $(PACKAGE) + cp -p *.pdf $(PACKAGE) + tar -cvf $(PACKAGE).tar ./$(PACKAGE) + rm -rf $(PACKAGE) + $(GZIP) -9 $(PACKAGE).tar + +$(PACKAGE).gls: doc + $(MAKEINDEX) -s gglo.ist -o $(PACKAGE).gls $(PACKAGE).glo + +$(PACKAGE).ind: doc + $(MAKEINDEX) -s gind.ist -o $(PACKAGE).ind $(PACKAGE).idx + +test: cls + $(XELATEX) test1.tex + $(XELATEX) test1.tex + $(XELATEX) test2.tex + $(XELATEX) test2.tex + $(XELATEX) test3.tex + $(XELATEX) test3.tex + $(PDFLATEX) test4.tex + $(PDFLATEX) test4.tex + -- cgit v1.2.3