Commit 46605739 authored by Alessandro Rubini's avatar Alessandro Rubini

doc: generate release value from git version

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <>
parent 20a4f017
......@@ -18,9 +18,11 @@ ALL = $(INFO) $(HTML) $(TXT) $(PDF)
MAKEINFO ?= makeinfo
RELEASE=$(shell git describe --always --dirty)
@rm -f $@
sed -f ./infofilter $< > $@
sed s/__RELEASE_GIT_ID__/$(RELEASE)/ $< | sed -f ./infofilter > $@
emacs -batch --no-site-file -l fixinfo $@
chmod -w $@
......@@ -35,12 +35,14 @@
@setchapternewpage off
@set update-month February 2014
@c the release name below is substituted at build time
@set release __RELEASE_GIT_ID__
@title FMC Bus Abstraction for Linux
@subtitle @value{update-month}
@subtitle @value{update-month} (@value{release})
@subtitle A kernel bus to support FMC mezzanines and carriers
@author Alessandro Rubini for CERN (BE-CO-HT)
@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