summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--pms.cls5
-rw-r--r--pms.tex2
3 files changed, 8 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 1f500d5..ef9991b 100644
--- a/Makefile
+++ b/Makefile
@@ -55,7 +55,7 @@ pms.bbl: pms.bib $(LATEXFILES) vc.tex
bibtex pms
vc.tex: $(SOURCES)
- /bin/sh ./vc
+ /bin/sh ./vc -m
eapi-cheatsheet.pdf: pms.pdf
@# nothing to do here, since this is also part of the main document
diff --git a/pms.cls b/pms.cls
index 150a1a0..45705e3 100644
--- a/pms.cls
+++ b/pms.cls
@@ -162,8 +162,13 @@
\ifthenelse{\equal{\VCDateISO}{}}
{
\date{Generated on: \today}
+ \newcommand{\commitinfo}{}
}{
\date{\printdate{\VCDateISO}}
+ \newcommand{\commitinfo}{%
+ This version corresponds to commit \VCRevision
+ \ifthenelse{\VCModified=0}{}{ with local changes}.
+ }
}
% Set page title
diff --git a/pms.tex b/pms.tex
index 73b7dac..3f338fb 100644
--- a/pms.tex
+++ b/pms.tex
@@ -37,6 +37,8 @@
This document is released under the Creative Commons Attribution-ShareAlike 3.0 Licence. The
full text of this licence can be found at \url{http://creativecommons.org/licenses/by-sa/3.0/}.
+
+ \commitinfo
}
\tableofcontents