From f38514c00a746e639d89c7355925bedc3be2106d Mon Sep 17 00:00:00 2001 From: dbs Date: Fri, 19 Oct 2007 19:04:30 +0000 Subject: [PATCH] Fix building the client from the staff_client directory with a reasonable default for the OpenSRF libs git-svn-id: svn://svn.open-ils.org/ILS/trunk@7898 dcc99617-32d9-48b4-a31d-7c20da2025e4 --- Open-ILS/xul/staff_client/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Open-ILS/xul/staff_client/Makefile b/Open-ILS/xul/staff_client/Makefile index 11f3e00efe..9592a9cb19 100644 --- a/Open-ILS/xul/staff_client/Makefile +++ b/Open-ILS/xul/staff_client/Makefile @@ -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 -- 2.11.0