Enable Python build with regular user to avoid perm problems at clean time.
authordbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 7 Jan 2008 00:37:13 +0000 (00:37 +0000)
committerdbs <dbs@9efc2488-bf62-4759-914b-345cdb29e865>
Mon, 7 Jan 2008 00:37:13 +0000 (00:37 +0000)
git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1203 9efc2488-bf62-4759-914b-345cdb29e865

src/Makefile
src/python/Makefile

index 9a7e767..98704b7 100644 (file)
@@ -22,7 +22,8 @@ all:  prep \
        srfsh \
        jserver \
        gateway \
-       java
+       java \
+       python-build
 
 install:       install-prep \
                opensrf-install \
@@ -67,6 +68,8 @@ jserver:      opensrf
 java:  prep
        if [ -n "$(OSRF_INSTALL_JAVA)" ]; then echo $@; cd java && . deps.inc && make; fi;
 
+python-build:
+       make -C python build
 
 # --------------------------------------------------------------------------------
 # INSTALL
index 5b3039c..9eafc3c 100644 (file)
@@ -1,21 +1,22 @@
 # makefile for OpenSRF Python modules and scripts
 
-install:       python-install
-
-# --------------------------------------------------------------------------------
-# INSTALL
-# --------------------------------------------------------------------------------
-python-build:
+# ------------------------------------------------------------------------------
+# BUILD
+# ------------------------------------------------------------------------------
+build:
        @echo $@
        python setup.py build
 
-python-install:        python-build
+# ------------------------------------------------------------------------------
+# INSTALL
+# ------------------------------------------------------------------------------
+install:       build
        @echo $@
        python setup.py install
 
-# --------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
 # CLEAN        
-# --------------------------------------------------------------------------------
+# ------------------------------------------------------------------------------
 clean:
        /bin/rm -rf build