No longer using gitinfo for the revision info. To complicated when all I
want is the short revision number. Now it works even on Windows.
This commit is contained in:
parent
3b98e1aeee
commit
f1355607c4
4 changed files with 5 additions and 10 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,4 +1,5 @@
|
|||
*.pdf
|
||||
*~
|
||||
*.*~
|
||||
out/*
|
||||
pdf/*
|
||||
|
|
9
Makefile
9
Makefile
|
@ -2,15 +2,11 @@ OUTDIR=out
|
|||
PDFDIR=pdf
|
||||
FILE = sheet-music_tinwhistle
|
||||
LILY_PDF = lilypond-book --pdf -o $(OUTDIR)
|
||||
PDF=cd $(OUTDIR) && pdflatex $(FILE).tex
|
||||
PDF=cd $(OUTDIR) && pdflatex --enable-pipes --shell-escape $(FILE).tex
|
||||
INDEX=cd $(OUTDIR) && makeindex $(FILE).tex
|
||||
|
||||
# The suffixes used in this Makefile.
|
||||
.SUFFIXES: .lytex .tex .ly .pdf
|
||||
|
||||
# Input and output files are searched in the directories listed in
|
||||
# the VPATH variable. All of them are subdirectories of the current
|
||||
# directory (given by the GNU make variable `CURDIR').
|
||||
VPATH = \
|
||||
$(CURDIR)/lyrics \
|
||||
$(CURDIR)/notes \
|
||||
|
@ -18,8 +14,7 @@ VPATH = \
|
|||
|
||||
all: book
|
||||
|
||||
book: $(OUTDIR) $(PDFDIR)
|
||||
cp gitHeadInfo.gin $(OUTDIR)/
|
||||
book: $(OUTDIR) $(PDFDIR)
|
||||
cp headfoot.tex $(OUTDIR)/
|
||||
cp settings.tex $(OUTDIR)/
|
||||
cp -r license/ $(OUTDIR)/
|
||||
|
|
|
@ -6,7 +6,6 @@
|
|||
\usepackage{geometry}
|
||||
\usepackage{xmpincl}
|
||||
\usepackage{hyperref}
|
||||
\usepackage[grumpy]{gitinfo}
|
||||
|
||||
\input{settings.tex}
|
||||
\input{headfoot.tex}
|
||||
|
|
|
@ -15,8 +15,8 @@
|
|||
\end{minipage}
|
||||
\begin{minipage}{0.4\textwidth}
|
||||
\begin{flushright} \large
|
||||
\emph{Version:} \\
|
||||
\textsc{\gitAbbrevHash}
|
||||
\emph{Git Revision:} \\
|
||||
\textsc{\input{|"git log -1 --oneline --no-notes | cut -d ' ' -f1"}}
|
||||
\end{flushright}
|
||||
\end{minipage}
|
||||
\vfill
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue