SHELL=/bin/sh all: install distrib: % ./build.sh $@ rpmserver: % ./build.sh -f install.xml $@ rpmworker: % ./build.sh -f install.xml $@ install: distrib ./build.sh -f install.xml $@ createKeys: % ./build.sh -f install.xml $@ doc: % ./build.sh -f build.xml $@ doxygen: % ./build.sh -f build.xml $@ installDB: % ./build.sh -f install.xml $@ removeDB: % ./build.sh -f install.xml $@ uninstall: % ./build.sh -f install.xml $@ uninstallAll: % ./build.sh -f install.xml $@ clean: ./build.sh -f build.xml $@ %: @if test ! "${JAVA_HOME}" = "" ; then echo " JAVA_HOME env variable is set (JAVA_HOME = ${JAVA_HOME})" ; else echo " **** You must first set JAVA_HOME env variable ****" ; echo " **** Please check your java installation ****" ; echo "" ; exit 1; fi @if test ! -f "./build.conf" ; then echo " **** oups!! Where is your 'build.conf' ?!? **** " ; echo ; exit 2 ; fi @if grep "*** MUST BE" build.conf > /dev/null 2>&1 ; then echo " *****" ; echo " *****" ; echo " ***** ERROR: Your build.conf file is not filled properly" ; echo " *****" ; echo " *****" ; echo ; exit 3 ; else echo " build.conf OK" ; fi @echo