Rename interpretor to interpreter.
[Faustine.git] / interpreter / preprocessor / faust-0.9.47mr3 / examples / faust-stk / Makefile.mathdoc
1 DSP = $(wildcard *.dsp)
2 TEX = $(wildcard *-mdoc/tex/*.tex)
3 PDF = $(wildcard *-mdoc/pdf/*.pdf)
4
5 all : mathdoc copypdfs
6
7
8 .PHONY: all clean compile copypdfs copyall install mathdoc help
9
10
11 compile :
12 $(MAKE) -C ..
13
14 install :
15 sudo $(MAKE) -C .. install
16 sudo $(MAKE) -C ../tools/faust2appls install
17
18 mathdoc :
19 faust2mathdoc *.dsp
20
21 copypdfs :
22 mkdir -p allmathpdfs
23 cp $(wildcard *-mdoc/pdf/*.pdf) allmathpdfs/
24
25 copyall :
26 mkdir -p allmathdsps
27 mkdir -p allmathtexs
28 mkdir -p allmathpdfs
29 cp $(wildcard *.dsp) allmathdsps/
30 cp $(wildcard *-mdoc/tex/*.tex) allmathtexs/
31 cp $(wildcard *-mdoc/pdf/*.pdf) allmathpdfs/
32
33 help :
34 @echo "make or make all : compile math documentation of all examples, then copy resulting pdf files into \"allmathpdfs\" directory."
35 @echo "make clean : remove \"*-mdoc\" and \"allmath*\" directories."
36 @echo "make compile : compile the faust compiler."
37 @echo "make install : install the faust compiler and faust2appls scripts."
38 @echo "make mathdoc : generate math documentation of all examples (with faust2mathdoc)."
39 @echo "make copypdfs : copy pdf files into \"allmathpdfs\" directory."
40 @echo "make copyall : copy dsp, pdf, and tex files into \"allmathdsps\", \"allmathpdfs\", and \"allmathtexs\" directories."
41 @echo "make total : clean, compile faust, install faust and faust2appls, compile math docs, and copy files."
42
43 clean :
44 rm -rf allmath*
45 rm -rf *-mdoc
46
47 total : clean compile install mathdoc copyall