Debian Codegraph @

texmf-dist/doc/latex/latex4musicians/Makefile

raw symbols SCIP
1 # Makefile for latex4musicians.tex
2
3 VERSION = 1.0.1
4 DATE = 2019-01-17
5 NAME = latex4musicians
6 MANUAL = $(NAME).pdf
7 TEXFILES = $(NAME).tex params.tex
8
9 FIGURES = abctab.pdf bravura.pdf chordii.pdf chords.pdf gchords.pdf \
10 gcschemes.pdf gdiagram.pdf glyphs.pdf glyphs_ls.pdf gtablature.pdf \
11 gtrcrd.pdf guitar.pdf guitartabs.pdf jingle.pdf kyrie.pdf \
12 leadsheets.pdf lilyglyphs.pdf lilytab.pdf musicography.pdf \
13 musixguit.pdf songbook.pdf songs.pdf songs_g.pdf sample-abc.pdf \
14 sample-abc-all.pdf sample-all.pdf sample-latexmtx.pdf \
15 sample-lyluatex.pdf sample-lilybook.pdf sample-mtx.pdf \
16 sample-pmw.pdf sample-mtex.pdf sample-mlatex.pdf \
17 sample-songbook.pdf sheet.pdf verses-chords.pdf
18
19 $(MANUAL): $(TEXFILES) $(FIGURES) jingle.midi
20 pdflatex $(NAME).tex; \
21 pdflatex $(NAME).tex; \
22 pdflatex $(NAME).tex
23
24 clean:
25 /bin/rm -Rf *aux *.dep *.lo? *.out *.toc *log \
26 *.ps *dvi *mx1 *.ps *.eps out-* *.mx1 *.gtex snippet* \
27 *.count *.texi *xml Tmp/ tmp-ly/; \
28 cd Figures; /bin/rm -Rf *aux *.dep *.lo? *.out *.toc *log \
29 *.ps *dvi *mx1 *.ps *.eps out-* *.mx1 *.gtex snippet* \
30 *.count *.texi *xml *pdf
31
32 OTHER = fellow.pdf happyb.pdf julia.pdf scale.pdf twinkle.pdf
33
34 cleanpdf:
35 /bin/rm -f $(FIGURES) $(OTHER)
36
37 abctab.pdf: Figures/abctab.abc
38 abc2xml.py -f Figures/abctab.abc > abctab.xml; \
39 musescore abctab.xml -o abctab.pdf;
40 /bin/sh crop.sh abctab.pdf
41 bravura.pdf: Figures/bravura.tex
42 /bin/sh ./pdfx.sh bravura.tex
43 chordii.pdf: Figures/chordii.cho
44 chordii -a Figures/chordii.cho > chordii.ps; \
45 ps2pdf chordii.ps; \
46 /bin/sh crop.sh chordii.pdf
47 chords.pdf: Figures/chords.tex
48 /bin/sh ./pdfl.sh chords.tex
49 gchords.pdf: Figures/gchords.tex
50 /bin/sh ./pdfl.sh gchords.tex
51 gcschemes.pdf: Figures/gcschemes.tex
52 /bin/sh ./pdfl.sh gcschemes.tex
53 gdiagram.pdf: Figures/gdiagram.tex
54 /bin/sh ./pdfl.sh gdiagram.tex
55 glyphs.pdf: Figures/glyphs.tex
56 /bin/sh ./pdfx.sh glyphs.tex
57 glyphs_ls.pdf: Figures/glyphs_ls.tex
58 /bin/sh ./pdfx.sh glyphs_ls.tex
59 gtablature.pdf: Figures/gtablature.ly
60 lilypond Figures/gtablature.ly ; \
61 /bin/sh crop.sh gtablature.pdf
62 gtrcrd.pdf: Figures/gtrcrd.tex
63 /bin/sh ./pdfl.sh gtrcrd.tex
64 guitar.pdf: Figures/guitar.tex
65 /bin/sh ./pdfl.sh guitar.tex
66 guitartabs.pdf: Figures/guitartabs.tex
67 /bin/sh ./pdfl.sh guitartabs.tex
68 jingle.pdf: Figures/./jingle.ly
69 lilypond Figures/jingle.ly ; \
70 /bin/sh crop.sh jingle.pdf
71 kyrie.pdf: Figures/kyrie.tex
72 cd Figures; \
73 lualatex kyrie.tex; \
74 /bin/mv kyrie.pdf .. ; \
75 cd .. \;
76 /bin/sh crop.sh kyrie.pdf
77 leadsheets.pdf: Figures/leadsheets.tex
78 /bin/sh ./pdfl.sh leadsheets.tex
79 lilytab.pdf: Figures/lilytab.ly
80 lilypond Figures/lilytab.ly; \
81 /bin/sh crop.sh lilytab.pdf
82 lilyglyphs.pdf: Figures/lilyglyphs.tex
83 /bin/sh ./pdfx.sh lilyglyphs.tex
84 musicography.pdf: Figures/musicography.tex
85 /bin/sh ./pdfl.sh musicography.tex
86 musixguit.pdf: Figures/musixguit.tex
87 /bin/sh ./pdfl.sh musixguit.tex
88 songbook.pdf: Figures/songbook.tex
89 /bin/sh ./pdfl.sh songbook.tex
90 songs.pdf: Figures/songs.tex
91 /bin/sh ./pdfl.sh songs.tex
92 songs_g.pdf: Figures/songs_g.tex
93 /bin/sh ./pdfl.sh songs_g.tex
94 sample-abc.pdf: Figures/sample-abc.tex
95 cd Figures; \
96 pdflatex --shell-escape sample-abc.tex ; \
97 /bin/mv sample-abc.pdf .. ; \
98 cd .. ; \
99 /bin/sh crop.sh sample-abc.pdf
100 sample-abc-all.pdf: Figures/sample-abc-all.tex
101 pdflatex --shell-escape Figures/sample-abc-all.tex ; \
102 /bin/sh crop.sh sample-abc-all.pdf
103 sample-all.pdf: Figures/sample-all.tex
104 cd Figures; \
105 pdflatex -shell-escape sample-all.tex ; \
106 /bin/mv sample-all.pdf .. ; \
107 cd .. \;
108 /bin/sh crop.sh sample-all.pdf
109 sample-latexmtx.pdf: Figures/sample-latexmtx.ltx
110 cd Figures; \
111 musixtex sample-mtx scale sample-latexmtx.ltx; \
112 /bin/mv sample-latexmtx.pdf .. ; \
113 cd .. ; \
114 /bin/sh crop.sh sample-latexmtx.pdf
115 sample-lilybook.pdf: Figures/sample-lilybook.lytex
116 lilypond-book -f latex -o ./Tmp/ \
117 --lily-output-dir=./Tmp Figures/sample-lilybook.lytex; \
118 cd ./Tmp; pdflatex sample-lilybook.tex; \
119 /bin/cp ../*sh . ; /bin/sh ./crop.sh sample-lilybook.pdf; \
120 /bin/mv -f sample-lilybook.pdf ..
121 sample-lyluatex.pdf: Figures/sample-lyluatex.tex
122 lualatex --shell-escape Figures/sample-lyluatex.tex; \
123 /bin/sh crop.sh sample-lyluatex.pdf
124 sample-mtx.pdf: Figures/sample-mtx.mtx
125 cd Figures; \
126 musixtex sample-mtx.mtx; \
127 /bin/mv sample-mtx.pdf .. ; \
128 cd .. ; \
129 /bin/sh crop.sh sample-mtx.pdf
130 sample-musixtex-tab.pdf: Figures/sample-musixtex-tab.tex
131 cd Figures; tex sample-musixtex-tab.tex; \
132 dvips sample-musixtex-tab.dvi; ps2pdf sample-musixtex-tab.ps; \
133 /bin/sh ../crop.sh sample-musixtex-tab.pdf; \
134 /bin/mv -f sample-musixtex-tab.pdf ..
135 sample-mtex.pdf: Figures/sample-mtex.tex
136 cd Figures; tex sample-mtex.tex; \
137 dvips sample-mtex.dvi; ps2pdf sample-mtex.ps; \
138 /bin/sh ../crop.sh sample-mtex.pdf; \
139 /bin/mv -f sample-mtex.pdf ..
140 sample-mlatex.pdf: Figures/sample-mlatex.tex
141 /bin/sh ./pdfl.sh sample-mlatex.tex
142 sample-pmw.pdf: Figures/sample-pmw.pmw
143 pmw -includefont Figures/sample-pmw.pmw; \
144 ps2pdf Figures/sample-pmw.ps ; \
145 /bin/mv Figures/sample-pmw-pdf; \
146 /bin/sh crop.sh sample-pmw.pdf
147 sample-songbook.pdf: Figures/sample-songbook.tex
148 cd Figures; \
149 make -f Makefile.sb; \
150 /bin/mv sample-songbook.pdf ..
151 sheet.pdf: Figures/./sheet.abc
152 abcm2ps -c -O= Figures/sheet.abc;
153 ps2pdf sheet.ps; \
154 /bin/sh crop.sh sheet.pdf
155 verses-chords.pdf: Figures/verses-chords.tex
156 /bin/sh ./pdfl.sh verses-chords.tex
157
158
159 # End of Makefile