From bb4708ef4da40844a79a488ddf5be01221877907 Mon Sep 17 00:00:00 2001 From: dbs Date: Mon, 7 Jan 2008 00:37:13 +0000 Subject: [PATCH] Enable Python build with regular user to avoid perm problems at clean time. git-svn-id: svn://svn.open-ils.org/OpenSRF/trunk@1203 9efc2488-bf62-4759-914b-345cdb29e865 --- src/Makefile | 5 ++++- src/python/Makefile | 19 ++++++++++--------- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/src/Makefile b/src/Makefile index 9a7e767..98704b7 100644 --- a/src/Makefile +++ b/src/Makefile @@ -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 diff --git a/src/python/Makefile b/src/python/Makefile index 5b3039c..9eafc3c 100644 --- a/src/python/Makefile +++ b/src/python/Makefile @@ -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 -- 2.43.2