changeset 6814:e41059fb4073 double-precision

Importer Doc: Update title page automatically.
author Tom Gottfried <tom.gottfried@intevation.de>
date Sat, 10 Aug 2013 12:25:58 +0200
parents aa975386d7a9
children e68e414dceb2
files backend/doc/documentation/de/importer-manual.tex backend/doc/documentation/de/title.tex contrib/make_flys_release/bin/make-importer-package.sh
diffstat 3 files changed, 9 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/backend/doc/documentation/de/importer-manual.tex	Fri Aug 09 21:40:30 2013 +0200
+++ b/backend/doc/documentation/de/importer-manual.tex	Sat Aug 10 12:25:58 2013 +0200
@@ -26,9 +26,9 @@
 % Document DATE and VERSION
 % set these values when releasing a new version
 
-\newcommand{\documentdate}{19. Februar 2013}
-\newcommand{\documentversion}{1.1}
-\newcommand{\documentrevision}{rev5062}
+\newcommand{\documentdate}{\today}
+\newcommand{\documentversion}{1.2}
+\newcommand{\documentrevision}{rev6811}
 \newcommand{\documentID}{importer-manual.tex}
 %----------------------------------------------
 
--- a/backend/doc/documentation/de/title.tex	Fri Aug 09 21:40:30 2013 +0200
+++ b/backend/doc/documentation/de/title.tex	Sat Aug 10 12:25:58 2013 +0200
@@ -44,6 +44,7 @@
  {\bf Authors}:\\
  Ingo Weinzierl$<$ingo.weinzierl@intevation.de$>$\\
  Sascha Teichmann $<$sascha.teichmann@intevation.de$>$\\
+ Tom Gottfried $<$tom.gottfried@intevation.de$>$\\
  {\bf Intevation GmbH},\\
  Neuer Graben 17, 49074 Osnabrück, Germany\\
  Tel: ++49 541 33 50 83 - 0 \\
--- a/contrib/make_flys_release/bin/make-importer-package.sh	Fri Aug 09 21:40:30 2013 +0200
+++ b/contrib/make_flys_release/bin/make-importer-package.sh	Sat Aug 10 12:25:58 2013 +0200
@@ -47,8 +47,12 @@
 
 cp ${FLYS_DIR}/backend/doc/schema/*.sql $PKG_DIR/schema
 
+# create PDF of manual
+REV=`hg parent | sed -n '1s/[[:alnum:]]*: *\([0-9]*\):.*/\1/;1p'`
 cd ${FLYS_DIR}/backend/doc/documentation/de/
-make importer-manual.pdf
+sed -i "s/documentrevision..rev[0-9]*/documentrevision}{rev$REV/" \
+    importer-manual.tex
+pdflatex importer-manual.tex
 cp importer-manual.pdf $PKG_DIR
 
 sed -i 's/shpimporter\/shp/geodaesie\/shp/' $PKG_DIR/run_geo.sh

http://dive4elements.wald.intevation.org