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
1 changed files with 10 additions and 1 deletions

View File

@ -1,10 +1,19 @@
DATE := $(shell date +%y%m%d)
cancionero:
pdflatex -d cancionero.tex
luatex songidx.lua idxfile.sxd idxfile.sbx
luatex songidx.lua idxfile-authors.sxd idxfile-authors.sbx
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
clean: