# call in doc/ ! VERSION=1.5.1 ###################################### if [ ! -d "$1" ]; then echo "Usage : ./build-handbook " exit fi LANG=$1 echo "building handbook package for LabPlot $VERSION (language $LANG) ..." cp -pRL $LANG/ LabPlot-Handbook-$VERSION-$LANG/ if [ "$LANG" != "en" ]; then cp -pRL en/common/ en/small_pics/ LabPlot-Handbook-$VERSION-$LANG/ fi cd LabPlot-Handbook-$VERSION-$LANG/ meinproc index.docbook ../makedoc.sh cd .. tar zcf LabPlot-Handbook-$VERSION-$LANG.tar.gz LabPlot-Handbook-$VERSION-$LANG/ rm -rf LabPlot-Handbook-$VERSION-$LANG/ echo "Done"