Commit d6699f66 authored by Alessandro Rubini's avatar Alessandro Rubini

doc: show git revision in manuals' cover page

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 439b506a
......@@ -18,9 +18,11 @@ ALL = $(INFO) $(HTML) $(TXT) $(PDF)
MAKEINFO ?= makeinfo
RELEASE=$(shell git describe --always --dirty)
%.texi: %.in
@rm -f $@
sed -f ./infofilter $< > $@
sed s/__RELEASE_GIT_ID__/$(RELEASE)/ $< | sed -f ./infofilter > $@
emacs -batch --no-site-file -l fixinfo $@
chmod -w $@
......
......@@ -36,12 +36,13 @@
@setchapternewpage off
@set update-month July 2013
@set release __RELEASE_GIT_ID__
@finalout
@titlepage
@title FMC ADC Programmer's Interface
@subtitle @value{update-month}
@subtitle @value{update-month} (@value{release})
@subtitle A generic API for ADC devices
@author CERN BE-CO-HT / Alessandro Rubini and others
@end titlepage
......
......@@ -36,14 +36,13 @@
@setchapternewpage off
@set update-month July 2013
@set release 1.0 (almost...)
@c @set tagname fmc-adc-sw-v1.0
@set release __RELEASE_GIT_ID__
@finalout
@titlepage
@title FMC ADC User's Manual
@subtitle @value{update-month}
@subtitle @value{update-month} (@value{release})
@c -- Release @value{release}
@subtitle FMC ADC 100M 14b 4ch -- software manual
@author CERN BE-CO-HT / Federico Vaga / Alessandro Rubini
......
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