Better variable naming for the git revision info command in the Makefile

This commit is contained in:
Sebastian Hugentobler 2013-04-11 16:06:47 +02:00
parent 9701906341
commit 3fb46e24ba

View File

@ -5,7 +5,7 @@ GITINFO=revision.tex
LILY_PDF = lilypond-book --pdf -o $(OUTDIR)
PDF=cd $(OUTDIR) && pdflatex --enable-pipes --shell-escape $(FILE).tex
INDEX=cd $(OUTDIR) && makeindex $(FILE).tex
OUTPUT = `git log -1 --format="%h"`
REVISIONINFO = `git log -1 --format="%h"`
.SUFFIXES: .lytex .tex .ly .pdf
@ -36,7 +36,7 @@ $(PDFDIR):
mkdir -p $(PDFDIR)
$(GITINFO): FORCE
echo "\\newcommand{\\revision}{$(OUTPUT)}" > $(GITINFO)
echo "\\newcommand{\\revision}{$(REVISIONINFO)}" > $(GITINFO)
clean:
rm -rf $(OUTDIR)