Rev 1538: Add DESTDIR support to Makefile to make distro's life easier. in http://people.samba.org/bzr/jelmer/bzr-svn/trunk

Jelmer Vernooij jelmer at samba.org
Sat Aug 2 22:56:56 BST 2008


At http://people.samba.org/bzr/jelmer/bzr-svn/trunk

------------------------------------------------------------
revno: 1538
revision-id: jelmer at samba.org-20080802215655-afgn4v511esnwbns
parent: jelmer at samba.org-20080802215302-7yjst03v4xdn4d3d
author: Miklos Vajna <vmiklos at frugalware.org>
committer: Jelmer Vernooij <jelmer at samba.org>
branch nick: 0.4
timestamp: Sat 2008-08-02 23:56:55 +0200
message:
  Add DESTDIR support to Makefile to make distro's life easier.
modified:
  Makefile                       makefile.other-20080311181537-5svhje3v1flh1n4f-1
=== modified file 'Makefile'
--- a/Makefile	2008-08-02 00:11:59 +0000
+++ b/Makefile	2008-08-02 21:56:55 +0000
@@ -7,6 +7,7 @@
 PYLINT ?= pylint
 RST2HTML ?= rst2html
 TESTS ?= 
+DESTDIR ?=
 
 all:: build build-inplace README.html FAQ.html AUTHORS.html
 
@@ -20,7 +21,7 @@
 	$(SETUP) build_ext --inplace --debug
 
 install::
-	$(SETUP) install
+	$(SETUP) install --root "$(DESTDIR)"
 
 clean::
 	$(SETUP) clean




More information about the bazaar-commits mailing list