Submitted By: Miklos Vajna Description: Add DESTDIR support to Makefile to make distro's life easier. diff -Naur bzr-svn-0.4.10.orig/bzr-svn-0.4.10/Makefile bzr-svn-0.4.10/Makefile --- bzr-svn-0.4.10.orig/bzr-svn-0.4.10/Makefile 2008-05-12 01:33:21.000000000 +0200 +++ bzr-svn-0.4.10/Makefile 2008-08-02 23:56:12.000000000 +0200 @@ -7,6 +7,7 @@ PYLINT ?= pylint RST2HTML ?= rst2html TESTS ?= svn +DESTDIR ?= all:: build README.html FAQ.html AUTHORS.html @@ -17,7 +18,11 @@ $(SETUP) build_ext --inplace install:: +ifneq ($(DESTDIR),) + $(SETUP) install --root $(DESTDIR) +else $(SETUP) install +endif clean:: $(SETUP) clean