[Opensrf-commits] r1107 - trunk/src

svn at svn.open-ils.org svn at svn.open-ils.org
Wed Oct 17 21:24:02 EDT 2007


Author: dbs
Date: 2007-10-17 21:11:10 -0400 (Wed, 17 Oct 2007)
New Revision: 1107

Modified:
   trunk/src/Makefile
Log:
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)


Modified: trunk/src/Makefile
===================================================================
--- trunk/src/Makefile	2007-10-16 03:58:05 UTC (rev 1106)
+++ trunk/src/Makefile	2007-10-18 01:11:10 UTC (rev 1107)
@@ -6,6 +6,7 @@
 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 @@
 		router-install \
 		srfsh-install \
 		jserver-install \
-		perl-install 
+		perl-install \
+		javascript-install
 
 
 # --------------------------------------------------------------------------------
@@ -70,6 +72,7 @@
 	mkdir -p $(LIBDIR)
 	mkdir -p $(BINDIR)
 	mkdir -p $(PERLDIR)
+	mkdir -p $(JSDIR)
 	mkdir -p $(INCLUDEDIR)
 	mkdir -p $(ETCDIR)
 
@@ -109,7 +112,11 @@
 	@echo $@
 	cp -r perlmods/* $(PERLDIR)/
 
+javascript-install:	install-prep
+	@echo $@
+	cp -r javascript/* $(JSDIR)/
 
+
 # --------------------------------------------------------------------------------
 # CLEAN	
 # --------------------------------------------------------------------------------



More information about the opensrf-commits mailing list