summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkwaclaw <kwaclaw>2007-05-11 18:30:17 +0000
committerkwaclaw <kwaclaw>2007-05-11 18:30:17 +0000
commit946f83b73a5453a5a3ecb86c0737ab4ca65868ba (patch)
tree5457e145668260eefa297020f34f2fa3181add5e
parent79face3d36c90f2ce529fda8c7f69add471b9f21 (diff)
downloadlibexpat-946f83b73a5453a5a3ecb86c0737ab4ca65868ba.tar.gz
Added section about using DESTDIR and INSTALL_ROOT.
-rw-r--r--README13
1 files changed, 13 insertions, 0 deletions
diff --git a/README b/README
index 1471015..fda282a 100644
--- a/README
+++ b/README
@@ -94,6 +94,19 @@ instructions (after having run "make distclean"):
4. Run "make installlib" (which installs the library only).
Or, if step 2 was omitted, run "make installlib LIBRARY=libexpatw.la".
+
+Using DESTDIR or INSTALL_ROOT is enabled, with INSTALL_ROOT being the default
+value for DESTDIR, and the rest of the make file using only DESTDIR.
+It works as follows:
+ $ make install DESTDIR=/path/to/image
+overrides the in-makefile set DESTDIR, while both
+ $ INSTALL_ROOT=/path/to/image make install
+ $ make install INSTALL_ROOT=/path/to/image
+use DESTDIR=$(INSTALL_ROOT), even if DESTDIR eventually is defined in the
+environment, because variable-setting priority is
+1) commandline
+2) in-makefile
+3) environment
Note for Solaris users: The "ar" command is usually located in
"/usr/ccs/bin", which is not in the default PATH. You will need to