small tweaks and changes to make the install process more useful
authorerickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 21 Jul 2005 22:28:58 +0000 (22:28 +0000)
committererickson <erickson@9efc2488-bf62-4759-914b-345cdb29e865>
Thu, 21 Jul 2005 22:28:58 +0000 (22:28 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@413 9efc2488-bf62-4759-914b-345cdb29e865

src/Makefile
src/gateway/Makefile
src/router/Makefile

index e99048b..1d18904 100644 (file)
@@ -84,6 +84,8 @@ install-prep:
        mkdir -p $(PERLDIR)
        mkdir -p $(INCLUDEDIR)
        mkdir -p $(INCLUDEDIR)/$(OPENSRF)
+       mkdir -p $(ETCDIR)
+       mkdir -p $(TEMPLATEDIR)
 
 transport-install:     install-prep utils-install
        make -C libtransport install
index 6af77eb..1ae63e4 100644 (file)
@@ -5,6 +5,7 @@ all: libmod_ils_gateway.so
 
 install: 
        cp $(TMPDIR)/libmod_ils_gateway.so $(LIBDIR)/libmod_ils_gateway.so
+       cp gateway.xml.example $(ETCDIR)
        $(APXS2) -i -a -n ils_gateway $(LIBDIR)/libmod_ils_gateway.so
 
 libmod_ils_gateway.so: mod_ils_gateway.c       
index fa416c3..c1c5e12 100644 (file)
@@ -9,6 +9,7 @@ all: router
 
 install: 
        cp router $(BINDIR)
+       cp router_config.xml.example $(ETCDIR)
 
 router:  router.c $(LIB_SOURCES)
        $(CC) $(LD_OPTS) -D_ROUTER $(CC_OPTS)   $(LIB_SOURCES) router.c -o $@