Pequeños retoques.
[lilypond-ejercicios.git] / learning-with-Bach / Makefile
blob6dd3a17e10af9e97d847c8467d1416455b311aca
1 # de Slave Songs A. Simpson 1867, Marcus Brinkmann 2007
3 NOMBRE=learning-with-Bach
4 OUT=out
5 #LYNOMBRES=faenas incarnatus #fuentes lilypond
6 #LYARCHIVOS=$(addsuffix .ly, $(LYNOMBRES))
7 #LYPDF=$(addsuffix .pdf, $(LYNOMBRES))
8 RUNEVINCE=evince $(OUT)/$(NOMBRE).pdf &
9 #para salvia
10 #RUNBIB=cd $(OUT) && bibtex8 -W --csfile /home/fravd/software/biblatex/biblatex/doc/resources/latin1.csf $(NOMBRE)
11 #para Oregano
12 #RUNBIB=cd $(OUT) && bibtex8 -W --csfile /home/fravd/trabajos-doctorado/biblatex/biblatex/doc/resources/latin1.csf $(NOMBRE)
13 #SPLITPDFS=outA1.pdf outA2.pdf outB1.pdf outB2.pdf
14 IMAGENES=lily-logo.png $(SPLITPDFS) # frerejacques.pdf holst-marte.pdf
15 #/home/fravd/software/latex/biblatex/doc/resources/latin1.csf $(NOMBRE)
16 INCLUDESTEX=learningWithBach-00-introduccion.tex \
17 learningWithBach-01-instalacion.tex \
18 learningWithBach-00-introduccion.tex \
19 learningWithBach-01-instalacion.tex \
20 learningWithBach-04-alteraciones-titulos-ofrenda.tex \
21 learningWithBach-06-ligaduras-bach-suite1-cello.tex \
22 learningWithBach-08-contextos-simultanea.tex \
23 learningWithBach-09-polifonia.tex \
24 learningWithBach-13-variables.tex \
25 learningWithBach-16-adornos.tex \
26 learningWithBach-19-bajocifrado.tex
27 # apuntes-02-cumple.tex apuntes-03-mozart.tex \
28 apuntes-03-mozart.tex \
29 apuntes-04-alteraciones-titulos-ofrenda.tex \
30 apuntes-05-barras-beethoven5th.tex \
31 apuntes-06-ligaduras-bach-suite1-cello.tex \
32 apuntes-07-repeticiones-beethoven-9thsym.tex \
33 apuntes-08-contextos-simultanea.tex \
34 apuntes-09-polifonia.tex apuntes-10-piano-tresillos.tex \
35 apuntes-11-canciones.tex apuntes-12-acordes.tex \
36 apuntes-13-variables.tex \
37 apuntes-14-articulaciones-digitaciones.tex \
38 apuntes-15-reguladores-markup.tex apuntes-16-adornos.tex \
39 apuntes-17-set.tex apuntes-18-emperador.tex \
40 apuntes-19-bajocifrado.tex apuntes-20-machaut.tex \
41 apuntes-21-midi.tex apuntes-22-trucha.tex \
42 apuntes-23-despertad.tex apuntes-24-book.tex \
43 apuntes-25-mendelssohn.tex apuntes-26-margenes.tex \
44 apuntes-27-holst-1.tex apuntes-28-holst-2.tex \
45 apuntes-29-espanol.tex apuntes-30-antigua.tex
47 RUNPDF=cd $(OUT) && echo && pwd && echo && pdflatex $(NOMBRE).tex
48 LPBOOK=lilypond-book --pdf --output=$(OUT) --include=$(OUT) --format=latex
49 ARCHIVOSCOPIAR=$(IMAGENES)
50 COPIAR=cp $(ARCHIVOSCOPIAR) $(OUT)
52 all: build show
54 build: $(NOMBRE).pdf
56 show:
57 $(RUNEVINCE)
59 $(NOMBRE).pdf: $(NOMBRE).tex $(INCLUDESTEX) $(IMAGENES)
60 mkdir -p $(OUT)
61 if [ -f $(OUT)/$(NOMBRE).tex ] ; then rm $(OUT)/$(NOMBRE).tex; fi
62 # rm $(OUT)/$(NOMBRE).tex
63 for tex in $(INCLUDESTEX); do (if [ -f $(OUT)/$$tex ] ; then rm $(OUT)/$$tex ; fi); done
64 for tex in $(INCLUDESTEX); do (echo $$tex; echo; $(LPBOOK) $$tex); done
65 $(LPBOOK) $(NOMBRE).tex
66 $(COPIAR)
68 $(RUNPDF)
69 $(RUNPDF)
70 $(RUNPDF)
72 cp $(OUT)/$(NOMBRE).pdf ./
74 #$(SPLITPDFS): pruebalibro.ly
75 # lilypond pruebalibro.ly
76 # . ./scriptPDFTK.sh
78 frerejacques.pdf: frerejacques.ly
79 lilypond frerejacques.ly
81 holst-marte.pdf: holst-marte.ly
82 lilypond holst-marte.ly
84 muestra:
85 @echo 'NOMBRE: $(NOMBRE)'
86 @echo 'LY: $(LYNOMBRES)'
87 @echo 'LYARCHIVOS: $(LYARCHIVOS)'
88 @echo 'LYPDF: $(LYPDF)'
89 @echo 'OUT: $(OUT)'
90 @echo 'RUNEVINCE: $(RUNEVINCE)'
91 @echo 'RUNBIB: $(RUNBIB)'
92 @echo 'RUNPDF: $(RUNPDF)'
93 @echo 'RUNPDF: $(RUNPDF)'
94 @echo 'BIBARCHIVOS: $(BIBARCHIVOS)'
95 @echo 'FUENTESPYX: $(FUENTESPYX)'
96 @echo 'DATOSPYX: $(DATOSPYX)'
97 @echo 'GRAFICASPYX: $(GRAFICASPYX)'
98 @echo 'GRAFOS: $(GRAFOS)'
99 @echo 'IMAGENES: $(IMAGENES)'
100 @echo 'INCLUDESTEX: $(INCLUDESTEX)'
101 @echo 'INCLUDESVERB: $(INCLUDESVERB)'
102 @echo 'ARCHIVOSCOPIAR: $(ARCHIVOSCOPIAR)'
103 @echo 'COPIAR: $(COPIAR)'
105 clean:
106 rm -fr *.bbl *.blg *.aux *.idx *.dep *.log *.toc *.ps *.midi *.dvi *~ out snippet-map.ly
107 rm -rf $(OUT)
109 force:
110 rm -rf $(OUT)
111 touch $(NOMBRE).tex
112 make
114 .PHONY: wordcount
116 wordcount: dea.tex
117 detex dea.tex | wc