* Joakim Tjernlund wrote on Thu, Dec 10, 2009 at 08:04:27AM CET: > Ralf Wildenhues wrote on 10/12/2009 06:16:40: > > * Joakim Tjernlund wrote on Thu, Dec 10, 2009 at 12:50:14AM CET: > > > Ralf Wildenhues wrote on 08/12/2009 20:13:13: > > > > ./configure --prefix=/opt/x/y > > > > make > > > > make install DESTDIR=/some/dir > > > > > > I getting back to this now that my libtool problem seem to be over. > > > Pondring on DESTDIR, I wonder if there is a way to set a default DESTDIR > > > at > > > configure time so one does have to remember/type DESTDIR=.. at every make > > > > No, but you can just `export DESTDIR' in your environment. > > Yeah, but that isn't going to work in here, too easy to get wrong. I image > I could add something to configure.ac that will allow me to set it at > configure > time? Not sure what would work though, any ideas?
Well you can AC_ARG_VAR([DESTDIR], [perform staged installation using DESTDIR]) but it will require your users to either specify it at configure time already, or, if they want to specify it at `make install' time only, use GNU make. Cheers, Ralf _______________________________________________ http://lists.gnu.org/mailman/listinfo/libtool