Better variable naming for the git revision info command in the Makefile
This commit is contained in:
parent
9701906341
commit
3fb46e24ba
1 changed files with 2 additions and 2 deletions
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…
Add table
Add a link
Reference in a new issue