Install the JavaScript libraries into an OpenSRF library,
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 18 Oct 2007 01:11:10 +0000 (01:11 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 18 Oct 2007 01:11:10 +0000 (01:11 +0000)
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

src/Makefile

index ce20b14..d3ec6e9 100644 (file)
@@ -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