summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/limap/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-06-11 23:21:54 +0000
committerKarl Berry <karl@freefriends.org>2016-06-11 23:21:54 +0000
commit39eee492a47dc496a406cd7d0cc34a8530d8f5ce (patch)
treec693a114d44f74f2f7abdabf3513c12132fd3168 /Master/texmf-dist/doc/latex/limap/Makefile
parentd2d91fb13aec1db9eaeb97b72d019f0df3fb1876 (diff)
limap (29may16)
git-svn-id: svn://tug.org/texlive/trunk@41390 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/limap/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/limap/Makefile71
1 files changed, 71 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/limap/Makefile b/Master/texmf-dist/doc/latex/limap/Makefile
new file mode 100644
index 00000000000..f555b371fae
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/limap/Makefile
@@ -0,0 +1,71 @@
+#******************************************************************************
+#* This file is part of limap.
+#*
+#* Copyright (C) 1999-2016 Gerd Neugebauer
+#*
+#* limap may be distributed under the terms of the LaTeX Project
+#* Public License version 1.3c, as described in lppl.txt.
+#*
+#*=============================================================================
+
+LATEX = latex
+LUALATEX = lualatex
+MAKEINDEX = makeindex
+
+DISTFILES = README.md \
+ limap.dtx \
+ limap.ins \
+ Makefile \
+ lppl.txt \
+ samples/boxed-toc.ltx \
+ samples/hyper.ltx \
+ samples/nolines.ltx \
+ samples/sample.ltx \
+ limap.pdf \
+ samples/boxed-toc.pdf \
+ samples/hyper.pdf \
+ samples/nolines.pdf \
+ samples/sample.pdf
+
+all: limap.cls limap.pdf
+
+cls sty limap.cls limap.sty: limap.dtx limap.ins
+ ${RM} limap.cls limap.sty
+ ${LATEX} limap.ins
+
+doc pdf limap.pdf: limap.sty limap.dtx
+ ${LUALATEX} limap.dtx
+ ${MAKEINDEX} -s gind.ist limap
+ ${MAKEINDEX} -s gglo.ist -o limap.gls limap.glo
+ ${LUALATEX} limap.dtx
+
+limap.dvi: limap.sty limap.dtx
+ ${LATEX} limap.dtx
+ ${MAKEINDEX} -s gind.ist limap
+ ${MAKEINDEX} -s gglo.ist -o limap.gls limap.glo
+ ${LATEX} limap.dtx
+
+#------------------------------------------------------------------------------
+
+%.pdf: %.ltx limap.cls
+ @${LUALATEX} $<
+ @${LUALATEX} $<
+ @mv $(notdir ${<:.ltx=.pdf}) ${<:.ltx=.pdf}
+ @rm -f $(notdir ${<:.ltx=.aux}) $(notdir ${<:.ltx=.log}) $(notdir ${<:.ltx=.out})
+
+#------------------------------------------------------------------------------
+
+dist: distclean limap.zip
+
+zip limap.zip: $(DISTFILES)
+ (cd ..; zip limap/limap.zip $(addprefix limap/,$(DISTFILES)))
+
+#------------------------------------------------------------------------------
+
+clean:
+ ${RM} *.aux *.glo *.gls *.idx *.ilg *.ind *.log *.toc *.out *~ *.dvi *.pdf samples/*.pdf
+
+distclean: clean
+ ${RM} limap.cls limap.sty limap*.zip
+
+#------------------------------------------------------------------------------