prepare: src cp -L *.properties *.patch src/ cd src ; \ export JAVA_HOME=$(java) ; \ yes | ant prepare # apply patches for patch in *.patch; do patch -d src/ -p0 -N -i $$patch; done || : cd src/gs2build/build-src ; \ autoconf rm -rf src/packages/*.zip rm -rf src/packages/axis/docs rm -rf src/gs2build/build-src/packages rm -rf \ src/gs2build/perllib/cpan/LWP \ src/gs2build/perllib/cpan/LWP.pm \ src/gs2build/perllib/cpan/Bundle/LWP.pm touch prepare build: prepare cd src ; \ JAVA_HOME=$(java) ant install mv src/lib/jni/*.jar src/web/WEB-INF/lib/ # delete windows/mac stuff find src/ -type d \( -iname "win32" -o -iname "windows" -o -iname "winutil" -o -iname "darwin" \) -exec rm -rf {} \; 2> /dev/null || : find src/ \( -iname "*.dll" -o -iname "*.exe" \) -exec rm -rf {} \; || : touch build install: install_greenstone install_greenstone-native install_greenstone-tools