[csw-devel] SF.net SVN: gar:[21953] csw/mgar/gar/v2/gar.lib.mk

wahwah at users.sourceforge.net wahwah at users.sourceforge.net
Mon Sep 16 23:54:22 CEST 2013


Revision: 21953
          http://gar.svn.sourceforge.net/gar/?rev=21953&view=rev
Author:   wahwah
Date:     2013-09-16 21:54:22 +0000 (Mon, 16 Sep 2013)
Log Message:
-----------
mGAR v2: Add a configure step for Python

It's rare, but still.

Modified Paths:
--------------
    csw/mgar/gar/v2/gar.lib.mk

Modified: csw/mgar/gar/v2/gar.lib.mk
===================================================================
--- csw/mgar/gar/v2/gar.lib.mk	2013-09-16 21:07:48 UTC (rev 21952)
+++ csw/mgar/gar/v2/gar.lib.mk	2013-09-16 21:54:22 UTC (rev 21953)
@@ -860,6 +860,13 @@
 	cd $* && $(CONFIGURE_ENV) ./waf configure $(CONFIGURE_ARGS)
 	@$(MAKECOOKIE)
 
+PYCONFIGURE_CMD = config
+configure-%/setup.py:
+	@echo " ==> Running setup.py $(PYBUILD_TYPE) in $*"
+	@( cd $* ; $(BUILD_ENV) $(PYTHON_EXECUTABLE) ./setup.py $(PYCONFIGURE_CMD) $(CONFIGURE_ARGS) )
+	@$(MAKECOOKIE)
+
+
 #################### BUILD RULES ####################
 
 # build from a standard gnu-style makefile's default rule.

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list