[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Installing files in /etc



On Fri, Oct 20, 2000 at 10:43:28AM -0700, Yves Arrouye 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 where they belong. The 
> > debian directory is 
> > going to be part of the upstream source archive, so I can't 
> > interfer with
> > normal installation.
> 
> I just put the debian directory in the ICU upstream sources, and did just
> that (except that I use DESTDIR, I have no po/ dir). Since the debian
> packages are built using debian/rules, there is absolutely nothing
> preventing you to configure with --sysconfdir=/etc in debian/rules. People
> building outside of Debian will not use debian/rules, so you won't
> interfere.

But by changing the Makefile.in to use ${sysconfdir} I do indeed interfere.
This makes the config files install to /usr/etc. Right now the Makefile.in
explicitly installs to /etc b/c configure has no variable that defaults to
it.

-- 
Wesley W. Terpstra <terpstra@javien.com>
Javien Canada Inc. - Linux Developer



Reply to: