comparison contrib/make_flys_release/bin/make-importer-package.sh @ 7331:bb9735fbb680 double-precision

Importer packaging: run pdflatex three times to get references and page numbering right.
author Tom Gottfried <tom@intevation.de>
date Tue, 15 Oct 2013 15:25:09 +0200
parents e41059fb4073
children f7d3fc619976
comparison
equal deleted inserted replaced
7326:5e621410db05 7331:bb9735fbb680
50 # create PDF of manual 50 # create PDF of manual
51 REV=`hg parent | sed -n '1s/[[:alnum:]]*: *\([0-9]*\):.*/\1/;1p'` 51 REV=`hg parent | sed -n '1s/[[:alnum:]]*: *\([0-9]*\):.*/\1/;1p'`
52 cd ${FLYS_DIR}/backend/doc/documentation/de/ 52 cd ${FLYS_DIR}/backend/doc/documentation/de/
53 sed -i "s/documentrevision..rev[0-9]*/documentrevision}{rev$REV/" \ 53 sed -i "s/documentrevision..rev[0-9]*/documentrevision}{rev$REV/" \
54 importer-manual.tex 54 importer-manual.tex
55 # run pdflatex three times to get references and page numbering right
56 pdflatex importer-manual.tex
57 pdflatex importer-manual.tex
55 pdflatex importer-manual.tex 58 pdflatex importer-manual.tex
56 cp importer-manual.pdf $PKG_DIR 59 cp importer-manual.pdf $PKG_DIR
57 60
58 sed -i 's/shpimporter\/shp/geodaesie\/shp/' $PKG_DIR/run_geo.sh 61 sed -i 's/shpimporter\/shp/geodaesie\/shp/' $PKG_DIR/run_geo.sh
59 62

http://dive4elements.wald.intevation.org