PREFIX=/opt/glite
-include Makefile.inc
+-include ../project/version.properties
+
+version=${module.version}
VPATH = ${top_srcdir}/src
# example source code is part of the org.glite.lb.client
default all: generate doc
-generate: events.tex status.tex
+generate: events.tex status.tex ver.tex
doc: LBUG.pdf LBAG.pdf LBDG.pdf LBTP.pdf
${AT3} $< >$@ || rm -f $@
chmod -w $@ >/dev/null
+ver.tex:
+ @echo "\def\version{${version}}" > ver.tex
+
stage: doc
$(MAKE) install PREFIX=${stagedir}
done
clean:
- rm -rvf LBUG* LBAG* LBDG* LBTP* events.tex status.tex comment*
+ rm -rvf LBUG* LBAG* LBDG* LBTP* events.tex status.tex ver.tex comment*
rm -rvf log.xml project/ rpmbuild/ RPMS/ tgz/
# dependencies:
-COMMON:= copyright.tex \
+COMMON:=copyright.tex \
definitions.tex \
egee.cls \
frontmatter.tex \
lbjp.bib \
- versions.tex
+ versions.tex \
+ ver.tex
LBUG.pdf: ${COMMON} \
LBUG.tex \
--- /dev/null
+# $Header$
+module.version=1.0.0
+module.age=1
\title{Logging and Bookkeeping}
\Subtitle{Administrator's Guide}
\author{CESNET EGEE III JRA1 and SA3 team}
-\DocIdentifier{glite-lb-doc-ag-1.0}
+\DocIdentifier{glite-lb-doc-ag-\version}
\DeliverableId{}
\Date{\today}
\Activity{JRA1: Middleware Engineering}
\title{Logging and Bookkeeping}
\Subtitle{Developer's Guide}
\author{CESNET EGEE III JRA1 and SA3 team}
-\DocIdentifier{glite-lb-doc-dg-1.0}
+\DocIdentifier{glite-lb-doc-dg-\version}
\DeliverableId{}
\Date{\today}
\Activity{JRA1: Middleware Engineering}
\title{Logging and Bookkeeping}
\Subtitle{Test Plan}
\author{CESNET EGEE III JRA1 and SA3 team}
-\DocIdentifier{glite-lb-doc-tp-1.0}
+\DocIdentifier{glite-lb-doc-tp-\version}
\DeliverableId{}
\Date{\today}
\Activity{SA3: Integration, Testing and Certification}
\title{Logging and Bookkeeping}
\Subtitle{User's Guide}
\author{CESNET EGEE III JRA1 and SA3 team}
-\DocIdentifier{glite-lb-doc-ug-1.0}
+\DocIdentifier{glite-lb-doc-ug-\version}
\DeliverableId{}
\Date{\today}
\Activity{JRA1: Middleware Engineering}
\hyphenation{plug-in}
\newcommand{\email}[1]{\href{mailto:#1}{#1}}
+
+\input{ver.tex}