On Fri, 2009-07-10 at 14:47 -0500, Jeremy Nelson wrote: > >Also the "IP" option is nonstandard for the makefile and should be > >"DESTDIR" > > I'm unsure how to respond to this. The IP option in the Makefile is set by > --program-prefix, which was demanded by the Debian people, and isn't used > for directories that I can see. I am generally unfamiliar with the "DESTDIR" > option, although we do support --prefix and the full suite of --*dir > configure options. > > Can you offer advise or guidance as to how DESTDIR should be supported; what > configure option would set it, etc?
DESTDIR comes from GNU Automake, I believe. Basically, it's a Makefile variable that is prepended to all installation paths--i.e., if you're installing /usr/bin/epic, you'd use something like "$(DESTDIR)/usr/bin/epic" as the installation path, and have DESTDIR set to an empty string near the top of Makefile. DESTDIR is not set by configure, nor should anything other than the installation rules in Makefile care about it; typical usage is "make install DESTDIR=/tmp/install" As for why you might want DESTDIR--RPMs generally want the files to be installed in a staging area which contains *only* the files from the package, but with paths corresponding to where the files should actually go--i.e., if your staging area is /tmp/install, you want /usr/bin/epic to show up in /tmp/install/usr/bin/epic. DESTDIR obviously makes this very easy to do. -- Kevin L. Mitchell <klmi...@mit.edu>
signature.asc
Description: This is a digitally signed message part
_______________________________________________ List mailing list List@epicsol.org http://epicsol.org/mailman/listinfo/list