summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/macroswap/Makefile
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-08-18 23:32:33 +0000
committerKarl Berry <karl@freefriends.org>2013-08-18 23:32:33 +0000
commitf917dbdfae2021d592989828a2993fa2b4a78aae (patch)
tree6587f88a395e0b7e8e7a7f60ec39c8a690a4a5db /Master/texmf-dist/doc/latex/macroswap/Makefile
parent008b1c4fc694eb541c50db9f3d406607e269d2fc (diff)
macroswap (18aug13)
git-svn-id: svn://tug.org/texlive/trunk@31462 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/macroswap/Makefile')
-rw-r--r--Master/texmf-dist/doc/latex/macroswap/Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/macroswap/Makefile b/Master/texmf-dist/doc/latex/macroswap/Makefile
new file mode 100644
index 00000000000..a2665fe38a5
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/macroswap/Makefile
@@ -0,0 +1,20 @@
+all: clean macroswap.pdf
+
+clean:
+ rm -f *.log *.bbl *.blg *.dvi *.glo *.idx *.ilg *.ind *.sty *.aux *.gls *.zip *~
+
+dist: clean
+ cd .. && zip -r macroswap/macroswap.zip macroswap/
+
+macroswap.sty : macroswap.ins macroswap.dtx
+ latex macroswap.ins
+
+macroswap.pdf : macroswap.sty macroswap.glo macroswap.ind
+ pdflatex macroswap.dtx
+
+# Glossary contains the changelist(?)
+macroswap.glo : macroswap.dtx
+ pdflatex macroswap.dtx && makeindex -s gglo.ist -o macroswap.gls macroswap.glo
+
+macroswap.ind : macroswap.idx
+ makeindex -s gind.ist -o macroswap.ind macroswap.idx