Mercurial > dive4elements > river
comparison 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 |
comparison
equal
deleted
inserted
replaced
5519:d93062c003f6 | 5520:d5e1e4d9559e |
---|---|
2 set -e | 2 set -e |
3 | 3 |
4 # See README for more information | 4 # See README for more information |
5 | 5 |
6 # The working directory. Resulting tarball will be placed in the directory above. | 6 # The working directory. Resulting tarball will be placed in the directory above. |
7 PKG_DIR=/tmp/flys-importer | 7 PKG_DIR=~/tmp/flys-importer |
8 # Path to the flys checkout | 8 # Path to the flys checkout |
9 FLYS_DIR=/path/to/flys/root | 9 FLYS_DIR=~/flys/flys/ |
10 # Tarball that will be extracted into flys-imprter/opt | 10 # Tarball that will be extracted into flys-imprter/opt |
11 EXTRAS=$1 | 11 EXTRAS=$1 |
12 | 12 |
13 rm -fr $PKG_DIR | 13 rm -fr $PKG_DIR |
14 mkdir -p $PKG_DIR/hydr_morph | 14 mkdir -p $PKG_DIR/hydr_morph |
44 cd $PKG_DIR | 44 cd $PKG_DIR |
45 tar -xzf "$EXTRAS" | 45 tar -xzf "$EXTRAS" |
46 fi | 46 fi |
47 | 47 |
48 cp ${FLYS_DIR}/flys-backend/doc/schema/*.sql $PKG_DIR/schema | 48 cp ${FLYS_DIR}/flys-backend/doc/schema/*.sql $PKG_DIR/schema |
49 cp ${FLYS_DIR}/flys-backend/doc/documentation/de/importer-manual.pdf $PKG_DIR | 49 |
50 cd ${FLYS_DIR}/flys-backend/doc/documentation/de/ | |
51 make importer-manual.pdf | |
52 cp importer-manual.pdf $PKG_DIR | |
50 | 53 |
51 sed -i 's/shpimporter\/shp/geodaesie\/shp/' $PKG_DIR/run_geo.sh | 54 sed -i 's/shpimporter\/shp/geodaesie\/shp/' $PKG_DIR/run_geo.sh |
52 | 55 |
53 cd $PKG_DIR/.. | 56 cd $PKG_DIR/.. |
54 DATE=$(date +%Y%m%d%H%M) | 57 DATE=$(date +%Y%m%d%H%M) |