summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/bhcexam/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-08-01 23:06:37 +0000
committerKarl Berry <karl@freefriends.org>2011-08-01 23:06:37 +0000
commite00599b235e942382cf3b0f9abcac06a348ade45 (patch)
tree0ea2443d89c9ac57b6eb2c160e0c01e83e648eee /Master/texmf-dist/doc/latex/bhcexam/Makefile
parent532a341bc2d6e19013992368ba44c0e1ec6fe100 (diff)
new latex package bhcexam (1aug11)
git-svn-id: svn://tug.org/texlive/trunk@23304 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bhcexam/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/bhcexam/Makefile88
1 files changed, 88 insertions, 0 deletions
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
+