From 81f9d4d73eb40587d8c145d7d4e81396279b7247 Mon Sep 17 00:00:00 2001 From: "Yann E. MORIN\"" Date: Sun, 16 Nov 2008 21:55:46 +0000 Subject: Honor the DESTDIR variable to install out-of-place (Eg. for packaging). /trunk/configure | 10 10 0 0 +++++++++ /trunk/Makefile.in | 62 36 26 0 +++++++++++++++++++++++++++++++----------------------- /trunk/docs/overview.txt | 12 12 0 0 ++++++++++ 3 files changed, 58 insertions(+), 26 deletions(-) --- docs/overview.txt | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'docs') diff --git a/docs/overview.txt b/docs/overview.txt index cd476d8f..84929590 100644 --- a/docs/overview.txt +++ b/docs/overview.txt @@ -16,6 +16,7 @@ Installing crosstool-NG The hacker's way Shell completion Contributed code + Preparing for packaging Configuring crosstool-NG Interesting config options Re-building an existing toolchain @@ -191,6 +192,17 @@ There is no guarantee that a particuliar contribution applies to the current version of crosstool-ng, or that it will work at all. Use contributions at your own risk. +Preparing for packaging | +------------------------+ + +If you plan on packaging crosstool-NG, you surely don't want to install it +in your root file system. The install procedure of crosstool-NG honors the +DESTDIR variable: + + ./configure --prefix=/usr + make + make DESDTDIR=/packaging/place install + ____________________________ / Configuring crosstool-NG / -- cgit v1.2.3