Re: Installing files in /etc

2000-10-22 Thread Josip Rodin
On Sun, Oct 22, 2000 at 02:46:18PM +1100, Hamish Moffatt wrote: > > > debian/rules: > > > make install DESTDIR=`pwd`/debian/tmp > > > > BTW s/`pwd`/$(CURDIR)/ > > Why not just > > make install DESTDIR=debian/tmp > > ? I've never understood why an absolute path is needed for that command. It's

Re: Installing files in /etc

2000-10-22 Thread Josip Rodin
On Sat, Oct 21, 2000 at 08:44:15PM +0200, Falk Hueffner wrote: > > > debian/rules: > > > make install DESTDIR=`pwd`/debian/tmp > > > > BTW s/`pwd`/$(CURDIR)/ > > Uhm, why? Because using back quotes will fork for another shell command, whereas CURDIR is a pre-made make variable holding the same t

Re: Installing files in /etc

2000-10-22 Thread Josip Rodin
On Sun, Oct 22, 2000 at 02:46:18PM +1100, Hamish Moffatt wrote: > > > debian/rules: > > > make install DESTDIR=`pwd`/debian/tmp > > > > BTW s/`pwd`/$(CURDIR)/ > > Why not just > > make install DESTDIR=debian/tmp > > ? I've never understood why an absolute path is needed for that command. It's

Re: Installing files in /etc

2000-10-22 Thread Josip Rodin
On Sat, Oct 21, 2000 at 08:44:15PM +0200, Falk Hueffner wrote: > > > debian/rules: > > > make install DESTDIR=`pwd`/debian/tmp > > > > BTW s/`pwd`/$(CURDIR)/ > > Uhm, why? Because using back quotes will fork for another shell command, whereas CURDIR is a pre-made make variable holding the same

Re: Installing files in /etc

2000-10-21 Thread Hamish Moffatt
On Sat, Oct 21, 2000 at 05:39:08PM +0200, Josip Rodin wrote: > On Fri, Oct 20, 2000 at 12:16:21PM -0600, Wesley W. Terpstra wrote: > > debian/rules: > > make install DESTDIR=`pwd`/debian/tmp > > BTW s/`pwd`/$(CURDIR)/ Why not just make install DESTDIR=debian/tmp ? I've never understood why an a

Re: Installing files in /etc

2000-10-21 Thread Hamish Moffatt
On Sat, Oct 21, 2000 at 05:39:08PM +0200, Josip Rodin wrote: > On Fri, Oct 20, 2000 at 12:16:21PM -0600, Wesley W. Terpstra wrote: > > debian/rules: > > make install DESTDIR=`pwd`/debian/tmp > > BTW s/`pwd`/$(CURDIR)/ Why not just make install DESTDIR=debian/tmp ? I've never understood why an

Re: Installing files in /etc

2000-10-21 Thread Falk Hueffner
Josip Rodin <[EMAIL PROTECTED]> writes: > On Fri, Oct 20, 2000 at 12:16:21PM -0600, Wesley W. Terpstra wrote: > > debian/rules: > > make install DESTDIR=`pwd`/debian/tmp > > BTW s/`pwd`/$(CURDIR)/ Uhm, why? Falk

Re: Installing files in /etc

2000-10-21 Thread Falk Hueffner
Josip Rodin <[EMAIL PROTECTED]> writes: > On Fri, Oct 20, 2000 at 12:16:21PM -0600, Wesley W. Terpstra wrote: > > debian/rules: > > make install DESTDIR=`pwd`/debian/tmp > > BTW s/`pwd`/$(CURDIR)/ Uhm, why? Falk -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsub

Re: Installing files in /etc

2000-10-21 Thread Josip Rodin
On Fri, Oct 20, 2000 at 12:16:21PM -0600, Wesley W. Terpstra wrote: > debian/rules: > make install DESTDIR=`pwd`/debian/tmp BTW s/`pwd`/$(CURDIR)/ -- Digital Electronic Being Intended for Assassination and Nullification

Re: Installing files in /etc

2000-10-21 Thread Josip Rodin
On Sat, Oct 21, 2000 at 05:03:21PM +0200, Christian Marillat wrote: > YA> $(MAKE) install DESTDIR=`pwd`/debian/tmp > >> > >> This is dangerous, because if a package use i18n the Makefile > >> in po/ don't > >> understand DESTDIR, and all locale aren't installed. > > YA> :( :( :( > > YA> I guess

Re: Installing files in /etc

2000-10-21 Thread Christian Marillat
"YA" == Yves Arrouye <[EMAIL PROTECTED]> writes: YA> $(MAKE) install DESTDIR=`pwd`/debian/tmp >> >> This is dangerous, because if a package use i18n the Makefile >> in po/ don't >> understand DESTDIR, and all locale aren't installed. YA> :( :( :( YA> I guess the Makefile in po/ is autogen

Re: Installing files in /etc

2000-10-21 Thread Josip Rodin
On Fri, Oct 20, 2000 at 12:16:21PM -0600, Wesley W. Terpstra wrote: > debian/rules: > make install DESTDIR=`pwd`/debian/tmp BTW s/`pwd`/$(CURDIR)/ -- Digital Electronic Being Intended for Assassination and Nullification -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubs

Re: Installing files in /etc

2000-10-21 Thread Josip Rodin
On Sat, Oct 21, 2000 at 05:03:21PM +0200, Christian Marillat wrote: > YA> $(MAKE) install DESTDIR=`pwd`/debian/tmp > >> > >> This is dangerous, because if a package use i18n the Makefile > >> in po/ don't > >> understand DESTDIR, and all locale aren't installed. > > YA> :( :( :( > > YA> I gues

Re: Installing files in /etc

2000-10-21 Thread Christian Marillat
"YA" == Yves Arrouye <[EMAIL PROTECTED]> writes: YA> $(MAKE) install DESTDIR=`pwd`/debian/tmp >> >> This is dangerous, because if a package use i18n the Makefile >> in po/ don't >> understand DESTDIR, and all locale aren't installed. YA> :( :( :( YA> I guess the Makefile in po/ is autoge

[timshel@debian.org: Re: Installing files in /etc]

2000-10-21 Thread Timshel Knoll
gt; 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]

[timshel@debian.org: Re: Installing files in /etc]

2000-10-21 Thread Timshel Knoll
gt; 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]

Re: Installing files in /etc

2000-10-20 Thread Steve Robbins
On Fri, 20 Oct 2000, Wesley W. Terpstra wrote: > On Fri, Oct 20, 2000 at 10:43:28AM -0700, Yves Arrouye wrote: > > > Timshel Knoll <[EMAIL PROTECTED]>, wrote: > > > > Try: > > > > ./configure --prefix=/usr --sysconfdir=/etc > > > > > > > > and then > > > > > > > > $(MAKE) install prefix=`pwd`/de

Re: Installing files in /etc

2000-10-20 Thread Wesley W. Terpstra
On Fri, Oct 20, 2000 at 10:44:37AM -0700, Yves Arrouye wrote: > > re: DESTDIR -- it's not used in the Makefile.in. I also can't > > find it in > > 'info autoconf' or the html manual... > > It's an Automake thing, and people who use Automake typically keep this as a > good idea for their non-Autom

Re: Installing files in /etc

2000-10-20 Thread Wesley W. Terpstra
On Fri, Oct 20, 2000 at 10:43:28AM -0700, Yves Arrouye 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)

Re: Installing files in /etc

2000-10-20 Thread Steve Robbins
On Fri, 20 Oct 2000, Wesley W. Terpstra wrote: > On Fri, Oct 20, 2000 at 10:43:28AM -0700, Yves Arrouye wrote: > > > Timshel Knoll <[EMAIL PROTECTED]>, wrote: > > > > Try: > > > > ./configure --prefix=/usr --sysconfdir=/etc > > > > > > > > and then > > > > > > > > $(MAKE) install prefix=`pwd`/d

RE: Installing files in /etc

2000-10-20 Thread Yves Arrouye
> re: DESTDIR -- it's not used in the Makefile.in. I also can't > find it in > 'info autoconf' or the html manual... It's an Automake thing, and people who use Automake typically keep this as a good idea for their non-Automake packages. Oh well :) Redefining prefix etc. works quite well too. YA

RE: Installing files in /etc

2000-10-20 Thread Yves Arrouye
> 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

Re: Installing files in /etc

2000-10-20 Thread Wesley W. Terpstra
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

RE: Installing files in /etc

2000-10-20 Thread Yves Arrouye
> YA> $(MAKE) install DESTDIR=`pwd`/debian/tmp > > This is dangerous, because if a package use i18n the Makefile > in po/ don't > understand DESTDIR, and all locale aren't installed. :( :( :( I guess the Makefile in po/ is autogenerated? YA

Re: Installing files in /etc

2000-10-20 Thread Wesley W. Terpstra
On Fri, Oct 20, 2000 at 10:44:37AM -0700, Yves Arrouye wrote: > > re: DESTDIR -- it's not used in the Makefile.in. I also can't > > find it in > > 'info autoconf' or the html manual... > > It's an Automake thing, and people who use Automake typically keep this as a > good idea for their non-Auto

Re: Installing files in /etc

2000-10-20 Thread Wesley W. Terpstra
On Fri, Oct 20, 2000 at 10:43:28AM -0700, Yves Arrouye 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

RE: Installing files in /etc

2000-10-20 Thread Yves Arrouye
> re: DESTDIR -- it's not used in the Makefile.in. I also can't > find it in > 'info autoconf' or the html manual... It's an Automake thing, and people who use Automake typically keep this as a good idea for their non-Automake packages. Oh well :) Redefining prefix etc. works quite well too. YA

RE: Installing files in /etc

2000-10-20 Thread Yves Arrouye
> 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

Re: Installing files in /etc

2000-10-20 Thread Wesley W. Terpstra
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 use

RE: Installing files in /etc

2000-10-20 Thread Yves Arrouye
> YA> $(MAKE) install DESTDIR=`pwd`/debian/tmp > > This is dangerous, because if a package use i18n the Makefile > in po/ don't > understand DESTDIR, and all locale aren't installed. :( :( :( I guess the Makefile in po/ is autogenerated? YA -- To UNSUBSCRIBE, email to [EMAIL PROTECTED]

Re: Installing files in /etc

2000-10-20 Thread Ivo Timmermans
Christian Marillat wrote: > "YA" == Yves Arrouye <[EMAIL PROTECTED]> writes: > >> $(MAKE) install prefix=`pwd`/debian/tmp/usr sysconfdir=`pwd`/tmp/etc > > YA> If it's using autoconf, there's a chance that the package also lets you > YA> specify DESTDIR to install, as in: > > YA> $(MAKE)

Re: Installing files in /etc

2000-10-20 Thread Christian Marillat
"YA" == Yves Arrouye <[EMAIL PROTECTED]> writes: [...] >> $(MAKE) install prefix=`pwd`/debian/tmp/usr sysconfdir=`pwd`/tmp/etc YA> If it's using autoconf, there's a chance that the package also lets you YA> specify DESTDIR to install, as in: YA> $(MAKE) install DESTDIR=`pwd`/debian/tmp

Re: Installing files in /etc

2000-10-20 Thread Ivo Timmermans
Christian Marillat wrote: > "YA" == Yves Arrouye <[EMAIL PROTECTED]> writes: > >> $(MAKE) install prefix=`pwd`/debian/tmp/usr sysconfdir=`pwd`/tmp/etc > > YA> If it's using autoconf, there's a chance that the package also lets you > YA> specify DESTDIR to install, as in: > > YA> $(MAKE)

Re: Installing files in /etc

2000-10-20 Thread Christian Marillat
"YA" == Yves Arrouye <[EMAIL PROTECTED]> writes: [...] >> $(MAKE) install prefix=`pwd`/debian/tmp/usr sysconfdir=`pwd`/tmp/etc YA> If it's using autoconf, there's a chance that the package also lets you YA> specify DESTDIR to install, as in: YA> $(MAKE) install DESTDIR=`pwd`/debian/tm

Re: Installing files in /etc

2000-10-20 Thread Yves Arrouye
>> My only thoughts are an evil hack where I edit debian/rules to have >> $(MAKE) install prefix=`pwd`/debian/tmp/usr > etcdir=`pwd`/debian/tmp/etc >> and then use ${etcdir} for the config file install directory with it >> defaulting to /etc in the Makefile.in. >> >> Modifying the Makefile.in and

Re: Installing files in /etc

2000-10-19 Thread Yves Arrouye
>> My only thoughts are an evil hack where I edit debian/rules to have >> $(MAKE) install prefix=`pwd`/debian/tmp/usr > etcdir=`pwd`/debian/tmp/etc >> and then use ${etcdir} for the config file install directory with it >> defaulting to /etc in the Makefile.in. >> >> Modifying the Makefile.in and

Re: Installing files in /etc

2000-10-19 Thread Timshel Knoll
On Thu, Oct 19, 2000 at 04:54:17PM -0600, Wesley W. Terpstra wrote: > I've being packaging a program which has a config file. The program uses > autoconf and all the ${bindir}, ${libdir}, etc. type variables. dh_make > produced a debian/rules that worked almost right out of the box b/c it > overloa

Installing files in /etc

2000-10-19 Thread Wesley W. Terpstra
I've being packaging a program which has a config file. The program uses autoconf and all the ${bindir}, ${libdir}, etc. type variables. dh_make produced a debian/rules that worked almost right out of the box b/c it overloaded the prefix value to specify destinations for the install target. Howeve

Re: Installing files in /etc

2000-10-19 Thread Timshel Knoll
On Thu, Oct 19, 2000 at 04:54:17PM -0600, Wesley W. Terpstra wrote: > I've being packaging a program which has a config file. The program uses > autoconf and all the ${bindir}, ${libdir}, etc. type variables. dh_make > produced a debian/rules that worked almost right out of the box b/c it > overlo

Installing files in /etc

2000-10-19 Thread Wesley W. Terpstra
I've being packaging a program which has a config file. The program uses autoconf and all the ${bindir}, ${libdir}, etc. type variables. dh_make produced a debian/rules that worked almost right out of the box b/c it overloaded the prefix value to specify destinations for the install target. Howev