adding targets, etc.
[Evergreen.git] / install.sh
index af63220..b13ae70 100755 (executable)
@@ -150,9 +150,11 @@ function runInstall {
 
                MSG
 
-               MAKE="make APXS2=$APXS2 PREFIX=$PREFIX TMP=$TMP APACHE2_HEADERS=$APACHE2_HEADERS LIBXML2_HEADERS=$LIBXML2_HEADERS"; 
+               MAKE="make APXS2=$APXS2 PREFIX=$PREFIX TMP=$TMP \
+                       APACHE2_HEADERS=$APACHE2_HEADERS LIBXML2_HEADERS=$LIBXML2_HEADERS \
+                       BINDIR=$BINDIR LIBDIR=$LIBDIR PERLDIR=$PERLDIR INCLUDEDIR=$INCLUDEDIR";
 
-               echo "Passing to sub-makes: $VARS"
+               echo "Passing to sub-makes: $MAKE"
                        
                case "$target" in
                        
@@ -161,6 +163,14 @@ function runInstall {
                                if installing; then $MAKE -C "$OPENSRF_DIR" "$target-install"; fi;
                                ;;
 
+                       "opensrf_perl")
+                               if installing; then $MAKE -C "$OPENSRF_DIR" "perl-install"; fi;
+                               ;;
+
+                       "openils_perl")
+                               if installing; then $MAKE -C "$OPENILS_DIR" "perl-install"; fi;
+                               ;;
+
                        *) fail "Unknown target: $target";;
 
                esac