You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mod_python-dev@quetz.apache.org by Justin Erenkrantz <je...@apache.org> on 2002/09/13 07:15:10 UTC

[PATCH] Allow install_py_lib to work by defining PYTHON_BIN

I think this is a typo as PYTHONBIN isn't defined anywhere, but
PYTHON_BIN is exported via configure.

If compileall.py isn't executable, this target fails.  -- justin

Index: Makefile.in
===================================================================
RCS file: /home/cvs/httpd-python/Makefile.in,v
retrieving revision 1.9
diff -u -r1.9 Makefile.in
--- Makefile.in	12 Sep 2002 18:24:05 -0000	1.9
+++ Makefile.in	13 Sep 2002 05:10:59 -0000
@@ -61,6 +61,7 @@
 AP_SRC_OWN=@AP_SRC_OWN@
 AP_SRC_GRP=@AP_SRC_GRP@
 INSTALL=@INSTALL@
+PYTHON_BIN=@PYTHON_BIN@
 PY_STD_LIB=@PY_STD_LIB@
 
 all: @ALL@
@@ -131,8 +132,8 @@
 	do \
 		$(INSTALL) $$f $(PY_STD_LIB)/site-packages/mod_python; \
 	done
-	${PYTHONBIN} $(PY_STD_LIB)/compileall.py $(PY_STD_LIB)/site-packages/mod_python
-	${PYTHONBIN} -O $(PY_STD_LIB)/compileall.py $(PY_STD_LIB)/site-packages/mod_python
+	${PYTHON_BIN} $(PY_STD_LIB)/compileall.py $(PY_STD_LIB)/site-packages/mod_python
+	${PYTHON_BIN} -O $(PY_STD_LIB)/compileall.py $(PY_STD_LIB)/site-packages/mod_python
 
 clean:
 	cd src && $(MAKE) clean