summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/source/latex/songs/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/source/latex/songs/Makefile')
-rw-r--r--Master/texmf-dist/source/latex/songs/Makefile23
1 files changed, 23 insertions, 0 deletions
diff --git a/Master/texmf-dist/source/latex/songs/Makefile b/Master/texmf-dist/source/latex/songs/Makefile
new file mode 100644
index 00000000000..73feef03fd2
--- /dev/null
+++ b/Master/texmf-dist/source/latex/songs/Makefile
@@ -0,0 +1,23 @@
+LATEX = pdflatex
+TEXOUT = pdf
+MAKEINDEX = makeindex
+
+all: songs.sty songs.$(TEXOUT)
+
+songs.sty: songs.ins songs.dtx
+ $(LATEX) $<
+
+songs.$(TEXOUT): songs.dtx songs.sty
+ $(LATEX) $<
+ $(MAKEINDEX) -s gind.ist -o $(join $(basename $@ $@),.ind .idx)
+ $(MAKEINDEX) -s gglo.ist -o $(join $(basename $@ $@),.gls .glo)
+ $(LATEX) $<
+ $(MAKEINDEX) -s gind.ist -o $(join $(basename $@ $@),.ind .idx)
+ $(MAKEINDEX) -s gglo.ist -o $(join $(basename $@ $@),.gls .glo)
+ $(LATEX) $<
+
+clean:
+ -rm songs.$(TEXOUT) songs.sty
+ -rm *.aux *.log *.out
+ -rm *.ind *.idx *.gls *.glo *.ilg
+