Fix Makefile to correctly pass prefix option
authorDaniel White <daniel@whitehouse.id.au>
Fri, 25 Jul 2008 16:37:04 +0000 (02:37 +1000)
committerDaniel White <daniel@whitehouse.id.au>
Wed, 30 Jul 2008 15:02:51 +0000 (01:02 +1000)
Was using PREFIX in top level Makefile whereas
Documentation/Makefile was using prefix.  Git's
use prefix, so seems the most reasonable choice.

Signed-off-by: Daniel White <daniel@whitehouse.id.au>
Makefile

index e5c002a..9885f62 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-PREFIX ?= $(HOME)
+prefix ?= $(HOME)
 DESTDIR        ?= /
 PYTHON ?= python
 
@@ -8,7 +8,7 @@ all:
        $(PYTHON) setup.py build
 
 install:
-       $(PYTHON) setup.py install --prefix=$(PREFIX) --root=$(DESTDIR) --force
+       $(PYTHON) setup.py install --prefix=$(prefix) --root=$(DESTDIR) --force
 
 doc:
        cd Documentation && $(MAKE) all