Better variable naming for the git revision info command in the Makefile
This commit is contained in:
parent
9701906341
commit
3fb46e24ba
4
Makefile
4
Makefile
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user