Re: How to include COPYING and COPYRIGHT in make install

2007-01-24 Thread Ralf Wildenhues
Hi Stepan, * Stepan Kasal wrote on Wed, Jan 24, 2007 at 09:51:29PM CET: > On Wed, Jan 24, 2007 at 08:00:59PM +0100, Ralf Wildenhues wrote: > > docdir = ${datadir}/doc > > rather > docdir = $(datadir)/doc/$(PACKAGE) That looks better, thanks. Cheers, Ralf

Re: How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-24 Thread Jim Lynch
Hi, Ralf, Thanks for the tips. I'd really like a way to enable this for specific applications, not as a site default. I'm afraid of what others might screw up if they didn't know the sysconf directory was fixed. Providing the ability to override that wouldn't help if you didn't know you had to

Re: How to include COPYING and COPYRIGHT in make install

2007-01-24 Thread Stepan Kasal
Hello, one nit: On Wed, Jan 24, 2007 at 08:00:59PM +0100, Ralf Wildenhues wrote: > Please note that the docdir variable is new in Autoconf-2.60, so if you > happen to use an older Autoconf version together with your Automake, > then you also need something along the lines of > docdir = ${datad

Re: How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-24 Thread Ralf Wildenhues
Hello Jim, This is actually an Autoconf question. I don't think that's easy to infer, though. * Jim Lynch wrote on Wed, Jan 24, 2007 at 07:13:41PM CET: > [...] if I do a ./configure > --sysconfdir=/etc I get what I want. However as I advance in age, I > forget more than I used to so remembering

Re: How to include COPYING and COPYRIGHT in make install

2007-01-24 Thread Ralf Wildenhues
Hello Kirk, * Kirk Wolf wrote on Tue, Jan 23, 2007 at 05:02:27PM CET: > > EXTRA_DIST = COPYRIGHT COPYING > SUBDIRS = src doc > > How do I get COPYING (and COPYRIGHT, etc) into the "make install" target? You could add a line doc_DATA = COPYRIGHT COPYING or you could replace this and the EXTRA

How do I write a configure.ac file to default sysconfdir to /etc?

2007-01-24 Thread Jim Lynch
I have an application where most of what I need installed goes to /usr/local/*, except I really want to put stuff in /etc. By default sysconfdir gets set to /usr/local/etc but if I do a ./configure --sysconfdir=/etc I get what I want. However as I advance in age, I forget more than I used to so r

How to include COPYING and COPYRIGHT in make install

2007-01-24 Thread Kirk Wolf
Hello, I'm new to automake and I'm building binary packages for a product under the GPL. The problem that I'm having is that the COPYING and COPYRIGHT files are not getting installed by the make install target generated by automake. In my top-level source directory, I have a Makefile.am f