From 3fb46e24ba6cd39592bad9ee89cb060ce6df9791 Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Thu, 11 Apr 2013 16:06:47 +0200 Subject: [PATCH] Better variable naming for the git revision info command in the Makefile --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 005e2a4..4fc0260 100644 --- a/Makefile +++ b/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)