[Opensrf-commits] r1203 - in trunk/src: . python
svn at svn.open-ils.org
svn at svn.open-ils.org
Sun Jan 6 20:01:25 EST 2008
Author: dbs
Date: 2008-01-06 19:37:13 -0500 (Sun, 06 Jan 2008)
New Revision: 1203
Modified:
trunk/src/Makefile
trunk/src/python/Makefile
Log:
Enable Python build with regular user to avoid perm problems at clean time.
Modified: trunk/src/Makefile
===================================================================
--- trunk/src/Makefile 2008-01-06 21:12:09 UTC (rev 1202)
+++ trunk/src/Makefile 2008-01-07 00:37:13 UTC (rev 1203)
@@ -22,7 +22,8 @@
srfsh \
jserver \
gateway \
- java
+ java \
+ python-build
install: install-prep \
opensrf-install \
@@ -67,6 +68,8 @@
java: prep
if [ -n "$(OSRF_INSTALL_JAVA)" ]; then echo $@; cd java && . deps.inc && make; fi;
+python-build:
+ make -C python build
# --------------------------------------------------------------------------------
# INSTALL
Modified: trunk/src/python/Makefile
===================================================================
--- trunk/src/python/Makefile 2008-01-06 21:12:09 UTC (rev 1202)
+++ trunk/src/python/Makefile 2008-01-07 00:37:13 UTC (rev 1203)
@@ -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
More information about the opensrf-commits
mailing list