[Expat-checkins] expat README,1.35,1.36
Karl Waclawek
kwaclaw at users.sourceforge.net
Fri May 11 20:30:20 CEST 2007
Update of /cvsroot/expat/expat
In directory sc8-pr-cvs17:/tmp/cvs-serv14364
Modified Files:
README
Log Message:
Added section about using DESTDIR and INSTALL_ROOT.
Index: README
===================================================================
RCS file: /cvsroot/expat/expat/README,v
retrieving revision 1.35
retrieving revision 1.36
diff -u -d -r1.35 -r1.36
--- README 5 May 2007 03:46:28 -0000 1.35
+++ README 11 May 2007 18:30:17 -0000 1.36
@@ -94,6 +94,19 @@
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
More information about the Expat-checkins
mailing list