diff options
author | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
---|---|---|
committer | Norbert Preining <norbert@preining.info> | 2019-09-02 13:46:59 +0900 |
commit | e0c6872cf40896c7be36b11dcc744620f10adf1d (patch) | |
tree | 60335e10d2f4354b0674ec22d7b53f0f8abee672 /macros/latex/contrib/songs/Makefile |
Initial commit
Diffstat (limited to 'macros/latex/contrib/songs/Makefile')
-rw-r--r-- | macros/latex/contrib/songs/Makefile | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/macros/latex/contrib/songs/Makefile b/macros/latex/contrib/songs/Makefile new file mode 100644 index 0000000000..73feef03fd --- /dev/null +++ b/macros/latex/contrib/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 + |