update @VERSION@ -> actual version on the web manual
authorNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 27 Nov 2012 17:51:45 +0000 (18:51 +0100)
committerNikos Mavrogiannopoulos <nmav@gnutls.org>
Tue, 27 Nov 2012 17:51:45 +0000 (18:51 +0100)
cfg.mk

diff --git a/cfg.mk b/cfg.mk
index dc04b6d1b20be116cc0ab184ea177a7303652ae9..181f8de7e7c867a738c9dad0186e24063f83ca92 100644 (file)
--- a/cfg.mk
+++ b/cfg.mk
@@ -146,6 +146,7 @@ web:
        cd doc && cp gnutls.html *.png ../$(htmldir)/manual/
        cd doc && makeinfo --html --split=node -o ../$(htmldir)/manual/html_node/ --css-include=./texinfo.css gnutls.texi
        cd doc && cp *.png ../$(htmldir)/manual/html_node/
+       sed 's/\@VERSION\@/$(VERSION)/g' -i $(htmldir)/manual/html_node/*.html $(htmldir)/manual/gnutls.html
        -cd doc && make gnutls.epub && cp gnutls.epub ../$(htmldir)/manual/
        cd doc/latex && make gnutls.pdf && cp gnutls.pdf ../../$(htmldir)/manual/
        #cd doc/doxygen && doxygen && cd ../.. && cp -v doc/doxygen/html/* $(htmldir)/devel/doxygen/ && cd doc/doxygen/latex && make refman.pdf && cd ../../../ && cp doc/doxygen/latex/refman.pdf $(htmldir)/devel/doxygen/$(PACKAGE).pdf