Added date tagging task to Makefile

This commit is contained in:
Carlos Galindo 2019-03-19 23:20:31 +01:00
parent 8db4f795bf
commit 2258b37204
Signed by: kauron
GPG key ID: 83E68706DEE119A3

View file

@ -1,10 +1,19 @@
DATE := $(shell date +%y%m%d)
cancionero: cancionero:
pdflatex -d cancionero.tex pdflatex -d cancionero.tex
luatex songidx.lua idxfile.sxd idxfile.sbx luatex songidx.lua idxfile.sxd idxfile.sbx
luatex songidx.lua idxfile-authors.sxd idxfile-authors.sbx luatex songidx.lua idxfile-authors.sxd idxfile-authors.sbx
pdflatex -d cancionero.tex pdflatex -d cancionero.tex
impresion: generate-acordes: cancionero
mv cancionero.pdf cancionero_acordes_$(DATE).pdf
generate-letra: impresion
mv impresion.pdf cancinero_impresion_$(DATE).pdf
mv cancionero.pdf cancionero_letra_$(DATE).pdf
impresion: cancionero
pdflatex -d impresion.tex pdflatex -d impresion.tex
clean: clean: