Commit e30c295e authored by Michael Hanselmann's avatar Michael Hanselmann
Browse files

Replace version number in install.sgml during build time

Reviewed-by: iustinp
parent ef756965
......@@ -8,8 +8,11 @@ dist_doc_DATA = \
EXTRA_DIST = hooks.sgml install.sgml admin.sgml
MAINTAINERCLEANFILES = *.html *.pdf
%.html: %.sgml
%.sgmltmp: %.sgml
sed -e 's#@GANETI_VERSION@#$(PACKAGE_VERSION)#g' < $< > $@
%.html: %.sgmltmp
docbook2html --nochunks $<
%.pdf: %.sgml
%.pdf: %.sgmltmp
docbook2pdf $<
......@@ -623,8 +623,8 @@ vgextend xenvg /dev/sdd1
</para>
<screen>
tar xvzf ganeti-1.2.2.tar.gz
cd ganeti-1.2.2
tar xvzf ganeti-@GANETI_VERSION@.tar.gz
cd ganeti-@GANETI_VERSION@
./configure --localstatedir=/var --sysconfdir=/etc
make
make install
......
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