[yum-cvs] yum/repomd Makefile,1.1,1.2

Seth Vidal skvidal at login.linux.duke.edu
Fri Feb 25 07:46:53 UTC 2005


Update of /home/groups/yum/cvs/yum/repomd
In directory login:/tmp/cvs-serv8009/repomd

Modified Files:
	Makefile 
Log Message:

PYTHON override in makefiles - make it complete
fixes: http://devel.linux.duke.edu/bugzilla/show_bug.cgi?id=403
thanks to bill nottingham


Index: Makefile
===================================================================
RCS file: /home/groups/yum/cvs/yum/repomd/Makefile,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- Makefile	31 Aug 2004 04:20:03 -0000	1.1
+++ Makefile	25 Feb 2005 07:46:51 -0000	1.2
@@ -1,7 +1,8 @@
+PYTHON=python
 PACKAGE = $(shell basename `pwd`)
 PYFILES = $(wildcard *.py)
-PYVER := $(shell python -c 'import sys; print "%.3s" %(sys.version)')
-PYSYSDIR := $(shell python -c 'import sys; print sys.prefix')
+PYVER := $(shell $(PYTHON) -c 'import sys; print "%.3s" %(sys.version)')
+PYSYSDIR := $(shell $(PYTHON) -c 'import sys; print sys.prefix')
 PYLIBDIR = $(PYSYSDIR)/lib/python$(PYVER)
 PKGDIR = $(PYLIBDIR)/site-packages/$(PACKAGE)
 




More information about the Yum-cvs-commits mailing list