Re: sysconf_DATA v. dist_sysconf_DATA

2006-12-05 Thread Stepan Kasal
Hello Ralf and all, [sorry for the delay, I forgot this in my "postponed" folder] On Fri, Nov 10, 2006 at 01:35:54PM +0100, Ralf Wildenhues wrote: > * Stepan Kasal wrote on Fri, Nov 10, 2006 at 12:40:18PM CET: > > [...] So it seems that distcheck would > > catch more bugs if `_build' were not a

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-13 Thread Stepan Kasal
Hello, On Fri, Nov 10, 2006 at 11:27:18AM -0700, David Everly wrote: > I have been working to follow this. It seems however that I need > dist_TESTS, but this seems to not work so perhaps I should do this > instead: > > EXTRA_DIST = $(TESTS) yes, that is fine. One nit about style: I would rat

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-10 Thread David Everly
On 11/9/06, Stepan Kasal <[EMAIL PROTECTED]> wrote: Hello, On Thu, Nov 09, 2006 at 06:30:42AM -0700, David Everly wrote: > If I understand this correctly, my error was in the use of > $(top_srcdir). So I'm wondering under what circumstances it would be > correct to use $(top_srcdir) and $(srcdi

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-10 Thread Ralf Wildenhues
* Stepan Kasal wrote on Fri, Nov 10, 2006 at 12:40:18PM CET: > On Thu, Nov 09, 2006 at 02:04:20PM +0100, Ralf Wildenhues wrote: > > > > http://lists.gnu.org/archive/html/automake/2006-09/msg00014.html > > indeed, very interesting read. So it seems that distcheck would > catch more bugs if `_buil

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-10 Thread Stepan Kasal
Hi Ralf, On Thu, Nov 09, 2006 at 02:04:20PM +0100, Ralf Wildenhues wrote: > * David Everly wrote on Thu, Nov 09, 2006 at 01:52:12PM CET: > > On 11/9/06, Stepan Kasal <[EMAIL PROTECTED]> wrote: > > >well, I created configure.ac and Makefile.am: > [...] > > This is almost identical to what I tried.

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-09 Thread David Everly
Thanks for the helpful advice, this is now working for me. On 11/9/06, Stepan Kasal <[EMAIL PROTECTED]> wrote: Hello, On Thu, Nov 09, 2006 at 06:30:42AM -0700, David Everly wrote: > If I understand this correctly, my error was in the use of > $(top_srcdir). So I'm wondering under what circumst

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-09 Thread Stepan Kasal
Hello, On Thu, Nov 09, 2006 at 06:30:42AM -0700, David Everly wrote: > If I understand this correctly, my error was in the use of > $(top_srcdir). So I'm wondering under what circumstances it would be > correct to use $(top_srcdir) and $(srcdir). a very quick answer: do not use $(top_srcdir) nor

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-09 Thread David Everly
On 11/9/06, Ralf Wildenhues <[EMAIL PROTECTED]> wrote: * David Everly wrote on Thu, Nov 09, 2006 at 01:52:12PM CET: > On 11/9/06, Stepan Kasal <[EMAIL PROTECTED]> wrote: > >On Wed, Nov 08, 2006 at 05:46:23PM -0700, David Everly wrote: > >> I put together a test case before sending my email, the o

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-09 Thread Ralf Wildenhues
* David Everly wrote on Thu, Nov 09, 2006 at 01:52:12PM CET: > On 11/9/06, Stepan Kasal <[EMAIL PROTECTED]> wrote: > >On Wed, Nov 08, 2006 at 05:46:23PM -0700, David Everly wrote: > >> I put together a test case before sending my email, the only line in > >> the one Makefile.am is the one I gave co

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-09 Thread David Everly
On 11/9/06, David Everly <[EMAIL PROTECTED]> wrote: On 11/9/06, Stepan Kasal <[EMAIL PROTECTED]> wrote: > On Wed, Nov 08, 2006 at 05:46:23PM -0700, David Everly wrote: > and the distcheck failed with the expected message: > > make[1]: *** No rule to make target `../test.txt', needed by `all-am'.

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-09 Thread David Everly
On 11/9/06, Stepan Kasal <[EMAIL PROTECTED]> wrote: Hello, On Wed, Nov 08, 2006 at 05:46:23PM -0700, David Everly wrote: > I put together a test case before sending my email, the only line in > the one Makefile.am is the one I gave containing test.txt. well, I created configure.ac and Makefile.

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-09 Thread Stepan Kasal
Hello, On Wed, Nov 08, 2006 at 05:46:23PM -0700, David Everly wrote: > I put together a test case before sending my email, the only line in > the one Makefile.am is the one I gave containing test.txt. well, I created configure.ac and Makefile.am: $ cat configure.ac AC_INIT([this], [1.0], [EMAIL P

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-09 Thread Ralf Wildenhues
Hello David, * David Everly wrote on Thu, Nov 09, 2006 at 01:46:23AM CET: > > I put together a test case before sending my email, the only line in > the one Makefile.am is the one I gave containing test.txt. So, where is it? Please send it, so the guessing has an end. Cheers, Ralf

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-08 Thread David Everly
On 11/8/06, Stepan Kasal <[EMAIL PROTECTED]> wrote: Hello, On Wed, Nov 08, 2006 at 11:29:39AM -0700, David Everly wrote: > I should have used this (because test.txt is not constructed): > > dist_sysconf_DATA = $(top_srcdir)/test.txt > > However, I've regularly run 'make distcheck' and it gives

Re: sysconf_DATA v. dist_sysconf_DATA

2006-11-08 Thread Stepan Kasal
Hello, On Wed, Nov 08, 2006 at 11:29:39AM -0700, David Everly wrote: > I should have used this (because test.txt is not constructed): > > dist_sysconf_DATA = $(top_srcdir)/test.txt > > However, I've regularly run 'make distcheck' and it gives no error > with the original sysconf_DATA. How can

sysconf_DATA v. dist_sysconf_DATA

2006-11-08 Thread David Everly
automake (GNU automake) 1.9.6 autoconf (GNU Autoconf) 2.60 HP-UX omztdv1 B.11.23 U ia64 I have recently discovered this in the manual: "By default, data files are not included in a distribution. Of course, you can use the dist_ prefix to change this on a per-variable basis." So instead of this