------------------------------------------------------------
revno: 761
committer: Brian Gough <[email protected]>
branch nick: trunk
timestamp: Mon 2011-08-08 17:47:44 +0100
message:
  add python path, support clean target in external
modified:
  gar.lib.mk
  gar.lib/external.mk
=== modified file 'gar.lib.mk'
--- a/gar.lib.mk        2011-05-20 22:28:41 +0000
+++ b/gar.lib.mk        2011-08-08 16:47:44 +0000
@@ -672,6 +672,10 @@
        $(MAKECOOKIE)
 
 # install using Python distutils
+
+PY_DIRPATHS = --prefix=$(prefix)
+PY_INSTALL_ARGS ?= $(PY_DIRPATHS)
+
 # We have to create the installation directory first because otherwise
 # setuptools (spit) will complain.
 install-%/setup.py:

=== modified file 'gar.lib/external.mk'
--- a/gar.lib/external.mk       2011-07-20 21:35:43 +0000
+++ b/gar.lib/external.mk       2011-08-08 16:47:44 +0000
@@ -65,6 +65,9 @@
        @echo $(INSTALL_CMD)
        @exit 1
 
+clean:
+       @exit 0
+
 # The rest is a little ugly, but what it does is probe the operating system to
 # decide an appropriate example command for $(INSTALL_CMD)
 

Reply via email to