1 |
--- |
2 |
Makefile | 2 +- |
3 |
pms.cls | 5 +++++ |
4 |
pms.tex | 2 ++ |
5 |
3 files changed, 8 insertions(+), 1 deletion(-) |
6 |
|
7 |
diff --git a/Makefile b/Makefile |
8 |
index 1f500d5..ef9991b 100644 |
9 |
--- a/Makefile |
10 |
+++ b/Makefile |
11 |
@@ -55,7 +55,7 @@ pms.bbl: pms.bib $(LATEXFILES) vc.tex |
12 |
bibtex pms |
13 |
|
14 |
vc.tex: $(SOURCES) |
15 |
- /bin/sh ./vc |
16 |
+ /bin/sh ./vc -m |
17 |
|
18 |
eapi-cheatsheet.pdf: pms.pdf |
19 |
@# nothing to do here, since this is also part of the main document |
20 |
diff --git a/pms.cls b/pms.cls |
21 |
index 150a1a0..45705e3 100644 |
22 |
--- a/pms.cls |
23 |
+++ b/pms.cls |
24 |
@@ -162,8 +162,13 @@ |
25 |
\ifthenelse{\equal{\VCDateISO}{}} |
26 |
{ |
27 |
\date{Generated on: \today} |
28 |
+ \newcommand{\commitinfo}{} |
29 |
}{ |
30 |
\date{\printdate{\VCDateISO}} |
31 |
+ \newcommand{\commitinfo}{% |
32 |
+ This version corresponds to commit \VCRevision |
33 |
+ \ifthenelse{\VCModified=0}{}{ with local changes}. |
34 |
+ } |
35 |
} |
36 |
|
37 |
% Set page title |
38 |
diff --git a/pms.tex b/pms.tex |
39 |
index 73b7dac..3f338fb 100644 |
40 |
--- a/pms.tex |
41 |
+++ b/pms.tex |
42 |
@@ -37,6 +37,8 @@ |
43 |
|
44 |
This document is released under the Creative Commons Attribution-ShareAlike 3.0 Licence. The |
45 |
full text of this licence can be found at \url{http://creativecommons.org/licenses/by-sa/3.0/}. |
46 |
+ |
47 |
+ \commitinfo |
48 |
} |
49 |
|
50 |
\tableofcontents |
51 |
-- |
52 |
2.13.1 |