make dist and BUILT_SOURCES

2001-04-03 Thread Robert Collins
Yet another question from the newbie. I have a number of built source (.hand .c) files that are built from other soources/configure settings. "make dist" is failing to find these files. (Some of them shouldn't be included in the distribution, and some can be). is there some way to exclude speci

make dist and sources in subdirs

2001-04-03 Thread Robert Collins
I have three questions: 1) Based on a recent comment on this list, I have noinst_LIBRARIES = libfoo.a lib_foo_a_SOURCES = foo/a.c foo/b.c foo/c.c upon entering this particular directory, make dist does: make[2]: *** No rule to make target `foo.c', needed by `distdir'. Stop. make[2]: Leaving di

Re: 25-cond-string.patch

2001-04-03 Thread Akim Demaille
> "Tom" == Tom Tromey <[EMAIL PROTECTED]> writes: Tom> With cryptic, "technical" patches like this one, an explanation Tom> of why it is needed would really help. Akim> Hm, OK, but actually it is not needed at all :) Its aim is Akim> mostly to increase readability... Tom> ...and writing tha

Re: 29-remove-contents.patch

2001-04-03 Thread Akim Demaille
The point of this patch and the next ones is to have a unified handling of all the kinds of variables. Before this patch, variables have their `constant' value in %content, and conditional vars have their content associated to $cond in $conditional{$var}{$cond}. This patch replaces $contents{$v

Re: 30-simplify-contents-traces.patch

2001-04-03 Thread Akim Demaille
+ variable_dump ($var); + variable_dump ($var); Yes, these parts should not exist, and were left unintentionally. But given that the next patches (which remove this) are expecting to see these lines, it was a bit too late for me to fix the patch. It would automake.in.rej.

Re: 35-avoid-complaints.patch

2001-04-03 Thread Akim Demaille
* depend2.am (@AMDEP@%FPFX%DEPMODE): Define it when GENERIC so that it does not get noticed twice by automake, which now complains for multiple definitions. * tests/vartar.test: s/INSTALL/install/g, automake now complains because we defined INSTALL. I have

Re: 36-fix-sub-conditions.patch

2001-04-03 Thread Akim Demaille
(&variable_conditions_sub): When the call is the top level call, generate all the permutations of the conditions. This code was removed at some point because I completely misunderstood the way it worked. I'm restoring it here.

Re: 40-better-messages.patch

2001-04-03 Thread Akim Demaille
@@ -5617,40 +5634,36 @@ sub variable_define ($$) $cond ||= 'TRUE'; - check_ambiguous_conditional ($var, $cond) -unless $type eq '+'; - - if (! defined $conditional{$var}{$cond}) + # A variable which was `+=' must not be `='. + if (defined $var_was_

Re: 42-override.patch

2001-04-03 Thread Akim Demaille
Index: 0.175/am.prj --- 0.175/am.prj +++ 0.175(w)/am.prj @@ -8,7 +8,10 @@ * automake.in (&handle_source_transform): Better locality of the variables. Use `next' to skip nonexistent variables.") -(New-Version-Log "") +(New-Version-Log "2001-03-11 Akim Dem

Re: 41-locality.patch

2001-04-03 Thread Akim Demaille
* automake.in (&handle_source_transform): Better locality of the variables. Use `next' to skip nonexistent variables. Readability.

Re: 48-false-confusion.patch

2001-04-03 Thread Akim Demaille
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> There was some confusion between `#' and `FALSE' representing Akim> negated conditions. So from now on, `FALSE' is used where ever a condition is needed, and `#' where ever a Make condition is needed. Of course `#' should not be ac

Re: 47-use-if-endif.patch

2001-04-03 Thread Akim Demaille
GZIP_ENV = --best distdir: $(DISTFILES) - @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" >/dev/null; then :; else \ + @if sed 15q $(srcdir)/NEWS | fgrep -e "$(VERSION)" >/dev/null; + then :; else \ Yes, this is wrong (missing one \). But the patch I will apply is fixed.

Re: -Wp flag??

2001-04-03 Thread Gary V . Vaughan
On Tuesday 03 April 2001 10:14 pm, Paul Wighton wrote: > Hello.. Hi there. I'm leaving the text of your email intact for the benefit of new readers on [EMAIL PROTECTED] It appears that the problems you are experiencing are caused by the automated compiler dependency generation code in automak