From: dbs Date: Thu, 18 Oct 2007 01:11:10 +0000 (+0000) Subject: Install the JavaScript libraries into an OpenSRF library, X-Git-Tag: osrf_rel_2_0_1~859 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=69412ae2b277870126b5aac63bf7008dc47cc8a8;p=OpenSRF.git Install the JavaScript libraries into an OpenSRF library, in prepration for OpenSRF applications being able to use one known good JavaScript library for OpenSRF communication. (I'm looking at you, EG, and your two copies of JSON.js) git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1107 9efc2488-bf62-4759-914b-345cdb29e865 --- diff --git a/src/Makefile b/src/Makefile index ce20b14..d3ec6e9 100644 --- a/src/Makefile +++ b/src/Makefile @@ -6,6 +6,7 @@ export OPENSRF = opensrf export BINDIR = $(PREFIX)/bin export LIBDIR = $(PREFIX)/lib export PERLDIR = $(LIBDIR)/perl5 +export JSDIR = $(LIBDIR)/javascript export INCLUDEDIR= $(PREFIX)/include export LDLIBS += @@ -29,7 +30,8 @@ install: install-prep \ router-install \ srfsh-install \ jserver-install \ - perl-install + perl-install \ + javascript-install # -------------------------------------------------------------------------------- @@ -70,6 +72,7 @@ install-prep: mkdir -p $(LIBDIR) mkdir -p $(BINDIR) mkdir -p $(PERLDIR) + mkdir -p $(JSDIR) mkdir -p $(INCLUDEDIR) mkdir -p $(ETCDIR) @@ -109,6 +112,10 @@ perl-install: install-prep @echo $@ cp -r perlmods/* $(PERLDIR)/ +javascript-install: install-prep + @echo $@ + cp -r javascript/* $(JSDIR)/ + # -------------------------------------------------------------------------------- # CLEAN