I'll try again with debian-mentorS!!! ^ ----- Forwarded message from Timshel Knoll <timshel@debian.org> ----- Date: Sat, 21 Oct 2000 18:48:21 +1100 From: Timshel Knoll <timshel@debian.org> To: "Wesley W. Terpstra" <terpstra@javien.com> Cc: debian-mentor@lists.debian.org Subject: Re: Installing files in /etc Mail-Followup-To: Timshel Knoll <timshel@debian.org>, "Wesley W. Terpstra" <terpstra@javien.com>, debian-mentor@lists.debian.org User-Agent: Mutt/1.2.5i In-Reply-To: <20001020100927.A9557@terpstra.javien.vpn>; from terpstra@javien.com on Fri, Oct 20, 2000 at 10:09:27AM -0600 X-Operating-System: Linux pippin 2.2.17-rfs X-Fix-Your-Modem: +++ATS2=255&WO1 On Fri, Oct 20, 2000 at 10:09:27AM -0600, Wesley W. Terpstra wrote: > Timshel Knoll <timshel@debian.org>, wrote: > > Try: > > ./configure --prefix=/usr --sysconfdir=/etc > > > > and then > > > > $(MAKE) install prefix=`pwd`/debian/tmp/usr sysconfdir=`pwd`/tmp/etc > > > > $(sysconfdir) is auto{conf|make}'s /etc directory. > > The problem with this method is that when a non-debian user downloads the > source and does ./configure && make install, their config files end up in > /usr/etc by default which is not what I wanted. The debian directory is > going to be part of the upstream source archive, so can't interfer with > normal installation. This wouldn't be wrong. What would normally happen if the user doesn't give a parameter to ./configure is that binaries install under /usr/local/bin, libraries under /usr/local/lib and config files under /usr/local/etc, which is the correct way to do it to stay with the FHS. All you need to do is specifically specify --sysconfdir=/etc to build debian packages - all stuff that the user compiles themselves should automatically install under /usr/local ... > re: DESTDIR -- it's not used in the Makefile.in. I also can't find it in > 'info autoconf' or the html manual... Wierd. I have seen DESTDIR in all the autoconf/automake stuff I've seen, maybe try a newer version of autoconf/automake ... all my Makefile.in's have: DESTDIR = somewhere in them. > Thanks a lot for your help, btw. > No probs :) > -- > Wesley W. Terpstra <terpstra@javien.com> > Javien Canada Inc. - Linux Developer -- Timshel Knoll <timshel@pobox.com> for Debian email: <timshel@debian.org> Second year Computer Science, RMIT | CS108 Tutor (Semester 2, 2000) Debian GNU/Linux developer, see http://www.debian.org/~timshel/ For GnuPG public key: finger timshel@ozemail.com.au or timshel@debian.org ----- End forwarded message ----- -- Timshel Knoll <timshel@pobox.com> for Debian email: <timshel@debian.org> Second year Computer Science, RMIT | CS108 Tutor (Semester 2, 2000) Debian GNU/Linux developer, see http://www.debian.org/~timshel/ For GnuPG public key: finger timshel@ozemail.com.au or timshel@debian.org
Attachment:
pgpWCONYvXPHP.pgp
Description: PGP signature