From: Daniel White Date: Fri, 25 Jul 2008 16:37:04 +0000 (+1000) Subject: Fix Makefile to correctly pass prefix option X-Git-Tag: v0.15-rc1~181 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/stgit/commitdiff_plain/29a8a0c94fb61b2a907afd9a9684cff058b9498a?ds=inline Fix Makefile to correctly pass prefix option 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 --- diff --git a/Makefile b/Makefile index e5c002a..9885f62 100644 --- 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