summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/galois/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-07-15 20:49:34 +0000
committerKarl Berry <karl@freefriends.org>2006-07-15 20:49:34 +0000
commit9f9467342aa8d5908460d4ced2213a521376f7b4 (patch)
tree6200a30f4592cf504433b58769d94f7ba1884216 /Master/texmf-dist/source/latex/galois/Makefile
parent8b925dde573a00183495444e8996715aa166e6d8 (diff)
galois update (23mar06)
git-svn-id: svn://tug.org/texlive/trunk@1847 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/galois/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/galois/Makefile44
1 files changed, 44 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/galois/Makefile b/Master/texmf-dist/source/latex/galois/Makefile
new file mode 100644
index 00000000000..58ac721599b
--- /dev/null
+++ b/Master/texmf-dist/source/latex/galois/Makefile
@@ -0,0 +1,44 @@
+PACKAGE = galois
+
+.PHONY:help
+help:
+ @echo '******************************************'
+ @echo 'make [help] : this help'
+ @echo 'make documentation: create ${PACKAGE}.pdf'
+ @echo 'make distribution : create ${PACKAGE}.tar.gz'
+ @echo 'make cleanup : delete auxiliary files'
+ @echo '******************************************'
+
+.PHONY:documentation
+documentation:
+ @echo '******************************************'
+ @echo 'Make documentation of ${PACKAGE} package...'
+ latex ${PACKAGE}.ins
+ latex ${PACKAGE}.dtx
+ makeindex -s gind.ist ${PACKAGE}
+ makeindex -s gglo.ist -o ${PACKAGE}.gls ${PACKAGE}.glo
+ latex ${PACKAGE}.dtx
+ latex ${PACKAGE}.dtx
+ dvips -Ppdf ${PACKAGE}.dvi
+ ps2pdf ${PACKAGE}.ps
+ @echo '******************************************'
+
+distribution:
+ @echo '******************************************'
+ @echo 'Make distribution of ${PACKAGE} package...'
+ mkdir $(PACKAGE)
+ cp -p README Makefile $(PACKAGE)
+ cp -p $(PACKAGE).dtx $(PACKAGE).ins $(PACKAGE).pdf $(PACKAGE)
+ tar -cvf $(PACKAGE).tar ./$(PACKAGE)
+ rm -rf $(PACKAGE)
+ gzip -9 $(PACKAGE).tar
+ @echo '******************************************'
+
+.PHONY:cleanup
+cleanup:
+ @echo '******************************************'
+ @echo 'Clean up...'
+ rm -f ${PACKAGE}.{aux,dvi,glo,gls,idx,ilg,ind,log,ps,sty,gz}
+ rm -f ${PACKAGE}.dtx~ ${PACKAGE}.ins~ Makefile~ README~
+ @echo '******************************************'
+