#! /bin/sh set -ex . ./install.cfg WEBINF=$DESTDIR$DATADIR/WEB-INF # Classes cp -r target/classes $WEBINF/ # External libraries mkdir -p $WEBINF/lib IFS=: for e in $RUNTIME_LIBS do ln -sf -- "$e" $WEBINF/lib/ done IFS= # Doc Files cp -r target/webapp/ $DESTDIR$DATADIR cp src/main/webapp/WEB-INF/web.xml $WEBINF/