added target for circ script installing
authorerickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jan 2006 20:16:13 +0000 (20:16 +0000)
committererickson <erickson@dcc99617-32d9-48b4-a31d-7c20da2025e4>
Fri, 20 Jan 2006 20:16:13 +0000 (20:16 +0000)
git-svn-id: svn://svn.open-ils.org/ILS/trunk@2768 dcc99617-32d9-48b4-a31d-7c20da2025e4

Open-ILS/src/Makefile
install.sh

index ea0d320..f34c571 100644 (file)
@@ -6,12 +6,16 @@ export CFLAGS                 = -pipe -g -Wall -O2 -fPIC -I$(LIBXML2_HEADERS) -I$(APACHE2_HEAD
 
 export INCDIR = "$(INCLUDEDIR)/openils/"
 
-all: mod_xmlbuilder mod_ils_rest_gateway c_apps
+all: mod_xmlbuilder mod_ils_rest_gateway c_apps 
 
-install:       perl-install web-install string-templates-install storage-bootstrap cgi-bootstrap xsl-install c_apps-install
+install:       perl-install web-install string-templates-install storage-bootstrap cgi-bootstrap xsl-install c_apps-install circ_rules-install
 
 web-install:   webcore-install autojs-install  mod_xmlbuilder-install mod_ils_rest_gateway-install
 
+circ_rules-install:
+       @echo $@
+       cp javascript/backend/circ/* $(CIRCRULESDIR)
+
 
 # -----------------------------------------------------------------------------------
 # Web stuff
@@ -36,13 +40,13 @@ mod_xmlbuilder-install:
 webcore-install:
        @echo $@
        echo "Copying web into $(WEBDIR)"
-       mkdir -p $(WEBDIR)
-       cp -r ../web/* $(WEBDIR)
-       ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/mresult.xml
-       ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/rresult.xml
-       ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/rdetail.xml
-       ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/advanced.xml
-       ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/myopac.xml
+#      mkdir -p $(WEBDIR)
+#      cp -r ../web/* $(WEBDIR)
+#      ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/mresult.xml
+#      ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/rresult.xml
+#      ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/rdetail.xml
+#      ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/advanced.xml
+#      ln -s $(WEBDIR)/opac/skin/default/xml/index.xml $(WEBDIR)/opac/skin/default/xml/myopac.xml
 
 libfieldmapper:        
        make -C apachemods libfieldmapper.so
index 98dfe6f..65a9905 100755 (executable)
@@ -175,6 +175,7 @@ function runInstall {
                                        $MAKE -C "$OPENILSDIR" "string-templates-install"; 
                                        $MAKE -C "$OPENILSDIR" "xsl-install"; 
                                        $MAKE -C "$OPENILSDIR" "c_apps-install"; 
+                                       $MAKE -C "$OPENILSDIR" "circ_rules-install"; 
                                fi;
                                ;;