|
[yoda-svn] r593 - trunk/pyextblackhole at projects.hepforge.org blackhole at projects.hepforge.orgThu Apr 11 14:46:04 BST 2013
Author: buckley Date: Thu Apr 11 14:46:03 2013 New Revision: 593 Log: Fix Python extension build env treatment Modified: trunk/pyext/Makefile.am Modified: trunk/pyext/Makefile.am ============================================================================== --- trunk/pyext/Makefile.am Wed Apr 10 11:42:52 2013 (r592) +++ trunk/pyext/Makefile.am Thu Apr 11 14:46:03 2013 (r593) @@ -1,21 +1,20 @@ SUBDIRS = yoda EXTRA_DIST = template.py -ENV = CC=$(CC) CXX=$(CXX) - if ENABLE_PYEXT +PYEXT_ENV = CC=$(CC) CXX=$(CXX) all-local: - $(ENV) $(PYTHON) setup.py install --install-lib=build/ + $(PYEXT_ENV) $(PYTHON) setup.py install --install-lib=build/ install-exec-local: - $(ENV) $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) + $(PYEXT_ENV) $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) uninstall-local: rm -rf $(DESTDIR)$(YODA_PYTHONPATH)/yoda clean-local: - $(ENV) $(PYTHON) setup.py clean --all + $(PYEXT_ENV) $(PYTHON) setup.py clean --all @rm -f $(builddir)/*.pyc @rm -rf $(builddir)/build @rm -rf dist
More information about the yoda-svn mailing list |