diff contrib/make_flys_release/bin/make-importer-package.sh @ 5520:d5e1e4d9559e

compile manual from within importer packaging script
author Tom Gottfried <tom.gottfried@intevation.de>
date Thu, 28 Mar 2013 17:42:00 +0100
parents d3eb662d66db
children cff1eea9854f
line wrap: on
line diff
--- a/contrib/make_flys_release/bin/make-importer-package.sh	Thu Mar 28 17:17:19 2013 +0100
+++ b/contrib/make_flys_release/bin/make-importer-package.sh	Thu Mar 28 17:42:00 2013 +0100
@@ -4,9 +4,9 @@
 # See README for more information
 
 # The working directory. Resulting tarball will be placed in the directory above.
-PKG_DIR=/tmp/flys-importer
+PKG_DIR=~/tmp/flys-importer
 # Path to the flys checkout
-FLYS_DIR=/path/to/flys/root
+FLYS_DIR=~/flys/flys/
 # Tarball that will be extracted into flys-imprter/opt
 EXTRAS=$1
 
@@ -46,7 +46,10 @@
 fi
 
 cp ${FLYS_DIR}/flys-backend/doc/schema/*.sql $PKG_DIR/schema
-cp ${FLYS_DIR}/flys-backend/doc/documentation/de/importer-manual.pdf $PKG_DIR
+
+cd ${FLYS_DIR}/flys-backend/doc/documentation/de/
+make importer-manual.pdf
+cp importer-manual.pdf $PKG_DIR
 
 sed -i 's/shpimporter\/shp/geodaesie\/shp/' $PKG_DIR/run_geo.sh
 

http://dive4elements.wald.intevation.org