[open-ils-commits] r7898 - trunk/Open-ILS/xul/staff_client
svn at svn.open-ils.org
svn at svn.open-ils.org
Fri Oct 19 15:17:34 EDT 2007
Author: dbs
Date: 2007-10-19 15:04:30 -0400 (Fri, 19 Oct 2007)
New Revision: 7898
Modified:
trunk/Open-ILS/xul/staff_client/Makefile
Log:
Fix building the client from the staff_client directory with a reasonable default for the OpenSRF libs
Modified: trunk/Open-ILS/xul/staff_client/Makefile
===================================================================
--- trunk/Open-ILS/xul/staff_client/Makefile 2007-10-19 05:26:47 UTC (rev 7897)
+++ trunk/Open-ILS/xul/staff_client/Makefile 2007-10-19 19:04:30 UTC (rev 7898)
@@ -1,7 +1,12 @@
# ILS/Open-ILS/xul/staff_client/Makefile
export STAFF_CLIENT_BUILD_ID = $$(/bin/cat build/BUILD_ID)
-export OPENSRF_JSLIBS = $(OPENSRF_LIBS)/javascript
+ifeq ($(origin $(OPENSRF_LIBS)), undefined)
+ # Reasonable default when making the client outside of the root dir
+ OPENSRF_JSLIBS := "/openils/lib/javascript"
+else
+ OPENSRF_JSLIBS := "$(OPENSRF_LIBS)/javascript"
+endif
all: build
@echo
More information about the open-ils-commits
mailing list