summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/gene/crossword/makefile
diff options
context:
space:
mode:
Diffstat (limited to 'macros/latex/contrib/gene/crossword/makefile')
-rw-r--r--macros/latex/contrib/gene/crossword/makefile61
1 files changed, 61 insertions, 0 deletions
diff --git a/macros/latex/contrib/gene/crossword/makefile b/macros/latex/contrib/gene/crossword/makefile
new file mode 100644
index 0000000000..1fbd0c19c5
--- /dev/null
+++ b/macros/latex/contrib/gene/crossword/makefile
@@ -0,0 +1,61 @@
+#******************************************************************************
+#* $Id: Makefile,v 1.9 2009/09/13 08:37:19 gene Exp gene $
+#******************************************************************************
+#* Author: Gerd Neugebauer
+#*=============================================================================
+
+INSTALLDIR = /usr/local/lib/texmf/tex/latex/cwpuzzle
+
+FILES = cwpuzzle.dtx \
+ cwpuzzle.ins \
+ makefile \
+ README.md \
+ LICENSE
+
+LATEX = latex
+PDFLATEX = pdflatex
+MAKEINDEX = makeindex
+RM = rm -f
+INSTALL = install
+MKDIR = mkdir
+
+#*=============================================================================
+
+all: cwpuzzle.pdf
+
+cwpuzzle.sty sty: cwpuzzle.dtx cwpuzzle.ins
+ $(RM) cwpuzzle.cls cwpuzzle.sty
+ $(PDFLATEX) cwpuzzle.ins
+
+cwpuzzle.dvi dvi: cwpuzzle.dtx cwpuzzle.sty
+ $(LATEX) cwpuzzle.dtx
+ $(LATEX) cwpuzzle.dtx
+ $(MAKEINDEX) -s gind.ist cwpuzzle
+ $(MAKEINDEX) -s gglo.ist -o cwpuzzle.gls cwpuzzle.glo
+ $(LATEX) cwpuzzle.dtx
+
+cwpuzzle.pdf pdf: cwpuzzle.sty cwpuzzle.gls
+ $(PDFLATEX) cwpuzzle.dtx
+ $(PDFLATEX) cwpuzzle.dtx
+ $(MAKEINDEX) -s gind.ist cwpuzzle
+ $(MAKEINDEX) -s gglo.ist -o cwpuzzle.gls cwpuzzle.glo
+ $(PDFLATEX) cwpuzzle.dtx
+
+cwpuzzle.gls:
+
+zip dist: ${FILES} cwpuzzle.pdf
+ rm -rf crossword
+ mkdir crossword
+ cp ${FILES} cwpuzzle.pdf crossword
+ zip crossword-` perl -n -e 'print $$1 if m/\\\\def\\\\fileversion[{](.*)[}]/' cwpuzzle.dtx`.zip \
+ crossword/*
+ rm -rf crossword
+
+clean:
+ $(RM) cwpuzzle.log cwpuzzle.aux cwpuzzle.glo cwpuzzle.gls \
+ cwpuzzle.idx cwpuzzle.ilg cwpuzzle.ind cwpuzzle.toc
+
+veryclean: clean
+ $(RM) cwpuzzle.cls cwpuzzle.sty cwpuzzle.dvi cwpuzzle.pdf
+
+#