I'll try again with debian-mentorS!!!
^
----- Forwarded message from Timshel Knoll <[EMAIL PROTECTED]> -----
Date: Sat, 21 Oct 2000 18:48:21 +1100
From: Timshel Knoll <[EMAIL PROTECTED]>
To: "Wesley W. Terpstra" <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED]
Subject: Re: Installing files in /etc
Mail-Followup-To: Timshel Knoll <[EMAIL PROTECTED]>,
"Wesley W. Terpstra" <[EMAIL PROTECTED]>,
[EMAIL PROTECTED]
User-Agent: Mutt/1.2.5i
In-Reply-To: <[EMAIL PROTECTED]>; from [EMAIL PROTECTED] 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 <[EMAIL PROTECTED]>, 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 <[EMAIL PROTECTED]>
> Javien Canada Inc. - Linux Developer
--
Timshel Knoll <[EMAIL PROTECTED]> for Debian email: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED] or [EMAIL PROTECTED]
----- End forwarded message -----
--
Timshel Knoll <[EMAIL PROTECTED]> for Debian email: <[EMAIL PROTECTED]>
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 [EMAIL PROTECTED] or [EMAIL PROTECTED]
PGP signature