tsbere to the rescue for the server-xul make target if in the staff client directory
authorphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 25 Aug 2010 16:38:04 +0000 (16:38 +0000)
committerphasefx <phasefx@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Wed, 25 Aug 2010 16:38:04 +0000 (16:38 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@17336 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/xul/staff_client/Makefile.am

index a92d495..700ecbd 100644 (file)
@@ -143,7 +143,10 @@ custom_skins:
                if [ ! -f "$$skin" ]; then ( touch build/"$$skin" ); fi \
        done;
 
-server-xul: build
+needwebdir:
+       @if [ -z "$(WEBDIR)" ]; then echo "!!!--------!!!"; echo "WEBDIR is not set. Must use top level Makefile or set WEBDIR to use this target."; echo "!!!--------!!!"; exit 1; fi
+
+server-xul: needwebdir build
        @echo $@
        mkdir -p $(WEBDIR)
        mkdir -p $(WEBDIR)/xul/