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
1
.gitignore
vendored
1
.gitignore
vendored
@ -1,4 +1,5 @@
|
|||||||
*.pdf
|
*.pdf
|
||||||
|
*~
|
||||||
*.*~
|
*.*~
|
||||||
out/*
|
out/*
|
||||||
pdf/*
|
pdf/*
|
||||||
|
7
Makefile
7
Makefile
@ -2,15 +2,11 @@ OUTDIR=out
|
|||||||
PDFDIR=pdf
|
PDFDIR=pdf
|
||||||
FILE = sheet-music_tinwhistle
|
FILE = sheet-music_tinwhistle
|
||||||
LILY_PDF = lilypond-book --pdf -o $(OUTDIR)
|
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
|
INDEX=cd $(OUTDIR) && makeindex $(FILE).tex
|
||||||
|
|
||||||
# The suffixes used in this Makefile.
|
|
||||||
.SUFFIXES: .lytex .tex .ly .pdf
|
.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 = \
|
VPATH = \
|
||||||
$(CURDIR)/lyrics \
|
$(CURDIR)/lyrics \
|
||||||
$(CURDIR)/notes \
|
$(CURDIR)/notes \
|
||||||
@ -19,7 +15,6 @@ VPATH = \
|
|||||||
all: book
|
all: book
|
||||||
|
|
||||||
book: $(OUTDIR) $(PDFDIR)
|
book: $(OUTDIR) $(PDFDIR)
|
||||||
cp gitHeadInfo.gin $(OUTDIR)/
|
|
||||||
cp headfoot.tex $(OUTDIR)/
|
cp headfoot.tex $(OUTDIR)/
|
||||||
cp settings.tex $(OUTDIR)/
|
cp settings.tex $(OUTDIR)/
|
||||||
cp -r license/ $(OUTDIR)/
|
cp -r license/ $(OUTDIR)/
|
||||||
|
@ -6,7 +6,6 @@
|
|||||||
\usepackage{geometry}
|
\usepackage{geometry}
|
||||||
\usepackage{xmpincl}
|
\usepackage{xmpincl}
|
||||||
\usepackage{hyperref}
|
\usepackage{hyperref}
|
||||||
\usepackage[grumpy]{gitinfo}
|
|
||||||
|
|
||||||
\input{settings.tex}
|
\input{settings.tex}
|
||||||
\input{headfoot.tex}
|
\input{headfoot.tex}
|
||||||
|
@ -15,8 +15,8 @@
|
|||||||
\end{minipage}
|
\end{minipage}
|
||||||
\begin{minipage}{0.4\textwidth}
|
\begin{minipage}{0.4\textwidth}
|
||||||
\begin{flushright} \large
|
\begin{flushright} \large
|
||||||
\emph{Version:} \\
|
\emph{Git Revision:} \\
|
||||||
\textsc{\gitAbbrevHash}
|
\textsc{\input{|"git log -1 --oneline --no-notes | cut -d ' ' -f1"}}
|
||||||
\end{flushright}
|
\end{flushright}
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
\vfill
|
\vfill
|
||||||
|
Loading…
Reference in New Issue
Block a user