From 2258b3720436b253244f156513dc1d6c91d01d6d Mon Sep 17 00:00:00 2001 From: Carlos Galindo Date: Tue, 19 Mar 2019 23:20:31 +0100 Subject: [PATCH] Added date tagging task to Makefile --- Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index e427ad9..4afc27c 100644 --- a/Makefile +++ b/Makefile @@ -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: