From: dbs Date: Fri, 19 Oct 2007 19:04:30 +0000 (+0000) Subject: Fix building the client from the staff_client directory with a reasonable default... X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=f38514c00a746e639d89c7355925bedc3be2106d;p=Evergreen.git 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 --- 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