summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/sageep/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2009-01-16 00:29:31 +0000
committerKarl Berry <karl@freefriends.org>2009-01-16 00:29:31 +0000
commitbe34116da8467b287d374df4fa585801044941ad (patch)
treebd8b5aeccfaa3103aab7720e351cca0a1a82775c /Master/texmf-dist/source/latex/sageep/Makefile
parentdf3506977184393ac8fe131faf4e733c26591d06 (diff)
new latex package sageep 1.0 (14jan09)
git-svn-id: svn://tug.org/texlive/trunk@11885 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/sageep/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/sageep/Makefile65
1 files changed, 65 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/sageep/Makefile b/Master/texmf-dist/source/latex/sageep/Makefile
new file mode 100644
index 00000000000..d2eb3621bc5
--- /dev/null
+++ b/Master/texmf-dist/source/latex/sageep/Makefile
@@ -0,0 +1,65 @@
+#
+# Makefile for sageep package
+#
+# This file is in public domain
+#
+# $Id: Makefile,v 1.4 2009-01-09 19:14:43 boris Exp $
+#
+
+PACKAGE=sageep
+
+SAMPLES = sample.tex
+
+
+PDF = $(PACKAGE).pdf ${SAMPLES:%.tex=%.pdf}
+
+all: ${PDF} $(PACKAGE).bst
+
+
+%.pdf: %.dtx $(PACKAGE).cls
+ pdflatex $<
+ - bibtex $*
+ pdflatex $<
+ - makeindex -s gind.ist -o $*.ind $*.idx
+ - makeindex -s gglo.ist -o $*.gls $*.glo
+ pdflatex $<
+ while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
+ do pdflatex $<; done
+
+
+%.cls: %.ins %.dtx
+ pdflatex $<
+
+%.pdf: %.tex $(PACKAGE).cls $(PACKAGE).bst
+ pdflatex $<
+ - bibtex $*
+ pdflatex $<
+ pdflatex $<
+ while ( grep -q '^LaTeX Warning: Label(s) may have changed' $*.log) \
+ do pdflatex $<; done
+
+
+.PRECIOUS: $(PACKAGE).cfg $(PACKAGE).cls
+
+
+clean:
+ $(RM) $(PACKAGE).cls *.log *.aux \
+ *.glo *.idx *.toc *.tbc \
+ *.ilg *.ind *.out *.lof \
+ *.lot *.bbl *.blg *.gls *.sty *.ist \
+ *.dvi *.ps *.thm *.tgz *.zip
+
+distclean: clean
+ $(RM) $(PDF)
+
+#
+# Archive for the distribution. Includes typeset documentation
+#
+archive: all clean
+ tar -czvf $(PACKAGE).tgz --exclude 'debug*' \
+ --exclude '*~' --exclude '*.tgz' --exclude '*.zip' --exclude CVS .
+
+
+zip: all clean
+ zip -r $(PACKAGE).zip * \
+ -x 'debug*' -x '*~' -x '*.tgz' -x '*.zip' -x CVS -x 'CVS/*' \ No newline at end of file