diff contrib/make_flys_release/bin/make-importer-package.sh @ 5528:33d735f5433e

Merged.
author Felix Wolfsteller <felix.wolfsteller@intevation.de>
date Tue, 02 Apr 2013 08:58:24 +0200
parents d5e1e4d9559e
children cff1eea9854f
line wrap: on
line diff
--- a/contrib/make_flys_release/bin/make-importer-package.sh	Thu Mar 28 12:11:13 2013 +0100
+++ b/contrib/make_flys_release/bin/make-importer-package.sh	Tue Apr 02 08:58:24 2013 +0200
@@ -4,11 +4,9 @@
 # See README for more information
 
 # The working directory. Resulting tarball will be placed in the directory above.
-PKG_DIR=/tmp/flys-importer
-# Default conf
-CONF_DIR=/path/to/conf/dir
+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
 
@@ -48,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