From e97b06d6ebe5c0abfa8d2b7214bd9b2ea7a46301 Mon Sep 17 00:00:00 2001 From: phasefx Date: Wed, 25 Aug 2010 16:38:04 +0000 Subject: [PATCH] tsbere to the rescue for the server-xul make target if in the staff client directory git-svn-id: svn://svn.open-ils.org/ILS/trunk@17336 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/Makefile.am | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/Makefile.am b/Open-ILS/xul/staff_client/Makefile.am index a92d495f47..700ecbd8f8 100644 --- a/Open-ILS/xul/staff_client/Makefile.am +++ b/Open-ILS/xul/staff_client/Makefile.am @@ -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/ -- 2.11.0