Commit 1668b65c authored by Alessandro Rubini's avatar Alessandro Rubini

doc: print release in cover page

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 407ada45
...@@ -18,9 +18,11 @@ ALL = $(INFO) $(HTML) $(TXT) $(PDF) ...@@ -18,9 +18,11 @@ ALL = $(INFO) $(HTML) $(TXT) $(PDF)
MAKEINFO ?= makeinfo MAKEINFO ?= makeinfo
RELEASE=$(shell git describe --always --dirty)
%.texi: %.in %.texi: %.in
@rm -f $@ @rm -f $@
sed -f ./infofilter $< > $@ sed s/__RELEASE_GIT_ID__/$(RELEASE)/ $< | sed -f ./infofilter > $@
emacs -batch --no-site-file -l fixinfo $@ emacs -batch --no-site-file -l fixinfo $@
chmod -w $@ chmod -w $@
......
...@@ -35,13 +35,14 @@ ...@@ -35,13 +35,14 @@
@setchapternewpage off @setchapternewpage off
@set update-month October 2013 @set update-month November 2013
@set release __RELEASE_GIT_ID__
@finalout @finalout
@titlepage @titlepage
@title PPSi Manual @title PPSi Manual
@subtitle @value{update-month} @subtitle @value{update-month} (@value{release})
@subtitle Documentation about ``PTP Ported to Silicon'' @subtitle Documentation about ``PTP Ported to Silicon''
@author Alessandro Rubini and Aurelio Colosimo for CERN (be-co-ht) @author Alessandro Rubini and Aurelio Colosimo for CERN (be-co-ht)
@end titlepage @end titlepage
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment