blob: c99862d03d00a944512065440af277baeca35671 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
|
PREPMX = ./prepmx
include make-target
sources = mtxdoc.tex mtxdoc.sty mtxlatex.sty mozart0.mtx mozart.mtx\
netfirst.mtx meter.mtx notes.tex lyrics.tex mtxindex.tex\
dertod.mtx volta.mtx title.mtx title1.mtx psalm42.mtx netsoos1.mtb \
netsoos2.mtb borup.mtx melisma1.mtb dwoman.mtb \
melisma2.mtb melisma3.mtb melisma4.mtb melisma5.mtb melisma6.mtb \
dwoman.mta melisma.mta netsoos.mta kroonhom.mtx loofnou.mtx \
viva.mtx dona.mtx sanctus.mtx halleluja.ltx kanons.ltx chord.mtx \
macro.mtx
examples = mozart0.tex mozart.tex netfirst.tex meter.tex \
dertod.tex volta.tex title.tex title1.tex psalm42.tex netsoos1.tex \
netsoos2.tex borup.tex melisma1.tex dwoman.tex \
melisma2.tex melisma3.tex melisma4.tex melisma5.tex melisma6.tex \
chord.tex macro.tex
halleluja_pieces = kroonhom.tex loofnou.tex
kanons_pieces = viva.tex dona.tex sanctus.tex
%.tex: %.mtx
$(PREPMX) $*
pmxab $*
rm $*.pml $*.pmx pmxaerr.dat
DOC: mtx.$(target)
mtxdoc.$(target): mtxdoc.tex mtxdoc.sty $(examples)
touch mtxdoc.mx1
rm *.mx?
- $(latex) mtxdoc
musixflx mtxdoc
makeindex mtxdoc
- $(latex) mtxdoc
- $(latex) mtxindex
rm mtxdoc.log mtxdoc.idx mtxdoc.ilg mtxindex.log mtxindex.aux
%.mtx: %.mta %.mtb
cat $*.mta $*.mtb > $*.mtx
melisma%.mtx: melisma.mta melisma%.mtb
cat melisma.mta melisma$*.mtb > melisma$*.mtx
netsoos%.mtx: netsoos.mta netsoos%.mtb
cat netsoos.mta netsoos$*.mtb > netsoos$*.mtx
once: mtxdoc.tex mtxdoc.sty $(examples)
- $(latex) mtxdoc
index: mtxdoc.idx mtxindex.tex
makeindex mtxdoc
$(latex) mtxindex
%.$(target): %.ltx
- rm $*.mx?; $(latex) $*.ltx; musixflx $*; $(latex) $*.ltx
kanons.$(target): kanons.ltx $(kanons_pieces)
halleluja.$(target): halleluja.ltx $(halleluja_pieces)
all: mtxdoc.$(target) kanons.$(target) halleluja.$(target) mtxindex.$(target)
config:
@echo "Configuring mtxdoc Version `./docversion`"
@echo "Looking for prepmx ... `which prepmx`"
ln -sf `which prepmx` .
@echo "Looking for pmxab ... `which pmxab`"
@echo "Looking for musixflx ... `which musixflx`"
@echo "Looking for musixtex ... `kpsewhich musixtex.tex`"
@echo "Looking for musixlyr ... `kpsewhich musixlyr.tex`"
@echo "Looking for $(latex) ... `which $(latex)`"
@echo "Looking for $(concat) ... `which $(concat)`"
pdftarget:
ln -sf make-pdf make-target
dvitarget:
ln -sf make-dvi make-target
paperus:
echo \\def\\paperUS{} > mypaper.tex
papera4:
echo \\def\\paperA4{} > mypaper.tex
mtxdocus.$(target): paperus mtxdoc.$(target)
mv mtxdoc.$(target) mtxdocus.$(target)
mtxdoca4.$(target): papera4 mtxdoc.$(target)
mv mtxdoc.$(target) mtxdoca4.$(target)
ps: mtxdoc.ps halleluja.ps kanons.ps mtxindex.ps
pdf: mtxdoc.pdf halleluja.pdf kanons.pdf mtxindex.pdf
mtx.pdf: mtxdoc.pdf mtxindex.pdf
./pdfcat -a -o mtx.pdf -i "mtxdoc.pdf mtxindex.pdf"
mtx.dvi: mtxdoc.dvi mtxindex.dvi
dviconcat -o mtx.dvi mtxdoc.dvi mtxindex.dvi
support = docversion Makefile make-dvi make-pdf make-target pdfcat
Dzip:
- @zip -ju mtxD`./docversion` $(sources) $(support) README
bare:
rm $(examples) $(halleluja_pieces) $(kanons_pieces) *.dvi *.lj *.ps *.pdf\
netsoos?.mtx melisma?.mtx *.mx? *.ind *.ilg *.toc *.aux *.log
|