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

RE: Installing files in /etc



> 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.

YA



Reply to: