Re: 33-dist-flavors.patch

2001-02-21 Thread Akim Demaille
Tom Tromey <[EMAIL PROTECTED]> writes: > > "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: > > Akim> This patch includes all the diffs of Makefile.ins, i.e., subdirs' > Akim> Makefile have not changed. The big change in the top Makefile.in > Akim> comes from the fact that the so called

Re: 36-uniq.patch

2001-02-21 Thread Akim Demaille
Tom Tromey <[EMAIL PROTECTED]> writes: > > "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: > > Akim> It is on purpose my uses of uniq have no &: it disables > Akim> prototype checking. > > Do we really want prototypes? I seem to remember Perl experts telling > me that they are confusin

Re: 37-unify-handle-dist.patch

2001-02-21 Thread Akim Demaille
Tom Tromey <[EMAIL PROTECTED]> writes: > BTW it is hard to read big rearrangement patches. Agreed. > It is made worse because sometimes they include actual code changes > as well. For instance this patch wasn't just a rearrangement, it > included semantic differences in file_contents. That'

Re: 38-clean-dist.patch

2001-02-21 Thread Akim Demaille
Tom Tromey <[EMAIL PROTECTED]> writes: > Beware: I believe there is one place in automake where local() is > required. I know that sucks. I think it is in the variable expansion > code, but I'm afraid I don't remember for certain. Yes, I seem to recall I found one. I forgot my patches today :

Re: 43-conditionals-as-hashes.patch

2001-02-21 Thread Akim Demaille
Tom Tromey <[EMAIL PROTECTED]> writes: > Akim> Ideally I'd say we need objects for variables, and have a > Akim> uniformized handling of conditionalized/unconditinal variables. > > This patch needed a lot less defense than you posted -- the only > reason conditionals were implemented in that ugl

Re: 45-confh4-test.patch

2001-02-21 Thread Akim Demaille
Tom Tromey <[EMAIL PROTECTED]> writes: > > "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: > > Akim> * dist-vars.am: Remove, merge into... > Akim> * distdir.am: this. > Akim> * automake.in (dirname, basename, backname): Move at the top of > Akim> the file

Re: Fail: install2.test

2001-02-21 Thread Akim Demaille
Tom Tromey <[EMAIL PROTECTED]> writes: > > "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: > > Akim> As a specific advice, please, never test again any of the > Akim> Autotools as root, as they are not meant for it, and this > Akim> produces false alarms. > > Maybe we could modify `defs

Why setting $contents when catching a rule?

2001-02-21 Thread Akim Demaille
I don't understand the following line in automake.in. It seems very wrong to me, but... # Read Makefile.am and set up %contents. Simultaneously copy lines # from Makefile.am into $output_trailer or $output_vars as # appropriate. NOTE we put rules in the trailer section. We want # user rules

Why creating local dirs when disting?

2001-02-21 Thread Akim Demaille
I don't understand this: ~/src/am % make -s check TESTS=distdir.test nostromo Err 2 Making check in . Making check in m4 Making check in tests PASS: distdir.test == All 1 tests passed == ~/src/am % grep -C10 'mkinstall.*foo' tests/testSubDir/M

Re: Manual additions (DOS issues)

2001-02-21 Thread Akim Demaille
"Tim Van Holder" <[EMAIL PROTECTED]> writes: > OK - here goes. I've listed '[\\/]* | ?:[\\/]*' as the canonical > absolute path test; I'll submit patches to use this throughout autoconf > later. Plenty of thanks! > +@itemize @bullet @bullets are atrocious! We use @minus. > +@item No multipl

automake asks for a "depcomp" file

2001-02-21 Thread Stephen Torri
Running automake (CVS compiled) against my configure.in causes the message "automake: configure.in: required file `master/depcomp' not found. There is no mention to a file called "depcomp" in configure.in or master/Makefile.am. In the master/Makefile.in there is mention to it: depcomp = $(SHELL)

Re: FYI: useless tabs before variable definitions

2001-02-21 Thread Tom Tromey
> "Pavel" == Pavel Roskin <[EMAIL PROTECTED]> writes: Pavel> ChangeLog: Pavel> * header-vars.am: Remove tabs before variable definitions. Thanks. Tom

Re: Why creating local dirs when disting?

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> I don't understand this: Akim> $(mkinstalldirs) $(distdir)/foo foo <<< Akim> What is this second foo doing here? Bug. Tom

Re: 33-dist-flavors.patch

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: >> But we have to be sure that this change doesn't cause problems in >> this scenario. Akim> I fail to see where such a thing can happen. Ok. Akim> Maybe you are think to some Cygnus tree or something? The Cygnus tree doesn't use `make

Re: automake asks for a "depcomp" file

2001-02-21 Thread Raja R Harinath
Hi, Stephen Torri <[EMAIL PROTECTED]> writes: > Running automake (CVS compiled) against my configure.in causes the > message "automake: configure.in: required file `master/depcomp' not found. > There is no mention to a file called "depcomp" in configure.in or > master/Makefile.am. In the master/M

Re: automake/54

2001-02-21 Thread Tom Tromey
> "Paul" == Paul Martinolich <[EMAIL PROTECTED]> writes: Paul>1260 &require_config_file ($FOREIGN, 'compile') Paul>1261 if $lang eq 'c'; Paul> This makes the error about not finding './compile' go away. Paul> I now have it in config subdirectory.

FYI: useless tabs before variable definitions

2001-02-21 Thread Pavel Roskin
Hello! When you modify Automake and commit your changes it's often a good idea to run the new automake in the automake working directory and check the difference in Makefile.in. This trick would show you that the variables "host_alias" and others are now preceeded by tabs. This is not good. Cha

Optimizing Makefiles

2001-02-21 Thread Akim Demaille
What is the general policy wrt `optimizations' in automake vs leaving some job to make? For instance there are many places with code like: if ($relative_dir eq '.') { push (@files, 'acconfig.h'); } else

50-many-my.patch

2001-02-21 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * automake.in: Promote local `my' over `local'. Index: automake.in --- automake.in Wed, 21 Feb 2001 00:28:50 +0100 akim (am/f/39_automake.i 1.58 755) +++ automake.in Wed, 21 Feb 2001 18:51:21 +0100 akim (am/f/39_au

RE: Manual additions (DOS issues)

2001-02-21 Thread Tim Van Holder
[Arg - damn outlook keeps sending mail before I want it to ] > Plenty of thanks! I'd like to say it was a pleasure, but writing docs never is :-) > @bullets are atrocious! We use @minus. Fine by me. Note that the only two other @itemizes in the manual both use @bullet. > I removed the @*, AFAI

RE: Manual additions (DOS issues)

2001-02-21 Thread Tim Van Holder
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Akim Demaille Sent: Wednesday, February 21, 2001 10:43 To: Tim Van Holder Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] Subject: Re: Manual additions (DOS issues) "Tim Van Holder" <[EMAIL PROTECTED]> writes:

48-formying.patch

2001-02-21 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * automake.in: Formatting and mying changes. Index: automake.in --- automake.in Tue, 20 Feb 2001 19:41:10 +0100 akim (am/f/39_automake.i 1.56 755) +++ automake.in Tue, 20 Feb 2001 20:26:36 +0100 akim (am/f/39_autom

49-formying.patch

2001-02-21 Thread Akim Demaille
Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * automake.in: Formatting and mying changes. Index: automake.in --- automake.in Tue, 20 Feb 2001 20:28:16 +0100 akim (am/f/39_automake.i 1.57 755) +++ automake.in Tue, 20 Feb 2001 20:44:05 +0100 akim (am/f/39_autom

46-formatting-changes.patch

2001-02-21 Thread Akim Demaille
In two chunks 'coz I first went too far :) Index: ChangeLog from Akim Demaille <[EMAIL PROTECTED]> * automake.in: Formatting changes. Index: automake.in --- automake.in Mon, 19 Feb 2001 02:58:32 +0100 akim (am/f/39_automake.i 1.53 755) +++ automake.in Tue, 20 Feb 2001 18:54:15 +0100 a

47-factored-mans.patch

2001-02-21 Thread Akim Demaille
FYI, here is the result on CVS Autoconf: /tmp/ace % for i in **/Makefile.in 19:29 remo diff -u $i.bak $i --- man/Makefile.in.bak Tue Feb 20 19:15:30 2001 +++ man/Makefile.in Tue Feb 20 19:28:59 2001 @@ -109,6 +109,7 @@ install-man1: + @$(NORMAL_INSTA

Re: Optimizing Makefiles

2001-02-21 Thread Derek R. Price
Akim Demaille wrote: > What is the general policy wrt `optimizations' in automake vs leaving > some job to make? For instance there are many places with code like: > > if ($relative_dir eq '.') > { > push (@files, 'acconfig.h'); >

Re: 47-factored-mans.patch

2001-02-21 Thread Akim Demaille
Tom Tromey <[EMAIL PROTECTED]> writes: > > "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: > > Akim> -install-man: $(MANS) > Akim> - @$(NORMAL_INSTALL) > Akim> - $(MAKE) $(AM_MAKEFLAGS) install-man1 > > I'm concerned about this. > > Before this change, `install-man' would e

"set -e" in subshell is now reliable

2001-02-21 Thread Pavel Roskin
Hello, Akim! You recently applied a patch to tests/target-cflags.test without mentioning it in ChangeLog. Maybe you didn't mean to commit that change? If you did, then two small fixes are needed: 1) You should run ./foo instead /foo 2) bash could not detect it because "set -e" doesn't propagate

Re: 52-factored-install.patch

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> This patch applies the same transformation, factoring, to Akim> install-data, install-exec and uninstall. Akim> Below are first presented the Makefiles of Automake. There is Akim> obviously a problem, which I do not solve in this a

Re: 52-factored-install.patch

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> This patch applies the same transformation, factoring, to Akim> install-data, install-exec and uninstall. I haven't read this patch yet but I wanted to respond to some comments before I did. Akim> Below are first presented the Make

Re: Why creating local dirs when disting?

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> $(mkinstalldirs) $(distdir)/foo foo <<< Akim> What is this second foo doing here? I checked in a test for this. Tom

Re: 36-uniq.patch

2001-02-21 Thread Russ Allbery
Akim Demaille <[EMAIL PROTECTED]> writes: > I am not aware of the problems. I know they forbid things, but then > using & again fixes the issue (i.e., I'm not aware of problems which > require removing the prototype, adjusting the call is enough). The major issue is this one, from perlsub:

Re: 50-many-my.patch

2001-02-21 Thread Tom Tromey
> "Pavel" == Pavel Roskin <[EMAIL PROTECTED]> writes: Pavel> Also it would be nice if you checked on some projects that the Pavel> makefiles don't change. I see you are doing it with Pavel> Autoconf. Consider a bigger project for the test (Lesstif Pavel> should be fine). Sometimes I test aga

Re: 47-factored-mans.patch

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> -install-man: $(MANS) Akim> - @$(NORMAL_INSTALL) Akim> - $(MAKE) $(AM_MAKEFLAGS) install-man1 I'm concerned about this. Before this change, `install-man' would ensure that the man pages were rebuilt. After this change,

Re: Why setting $contents when catching a rule?

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> I don't understand the following line in automake.in. It seems Akim> very wrong to me, but... Akim> => $contents{$1} = 1; This is very, very old code. Sometimes it is fun to use `cvs annotate' to see how old: 1.105

Re: Optimizing Makefiles

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> What is the general policy wrt `optimizations' in automake vs Akim> leaving some job to make? Let make do it. Seriously, I've never done any performance measurements to see how or if we could speed up generated Makefiles. If we di

Re: 46-formatting-changes.patch

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> * automake.in: Formatting changes. Please say something like "Use my instead of local", since this goes beyond mere formatting. Akim> -local ($sect, %sections, %vlist); Akim> +local (%sections, %vlist); I think the new s

Re: 49-formying.patch

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> * automake.in: Formatting and mying changes. Ok. Akim> + # FIXME: This code is mad, rewrite! At the time it was hard to find a better solution. Maybe we can do better now. Or maybe not. Or are you just referri

Re: 51-factored-cleans.patch

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> * automake.in (&am_install_var): Don't hook on the clean targets Akim> and .PHONY. Akim> * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am, Akim> * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am: A

Re: 50-many-my.patch

2001-02-21 Thread Tom Tromey
Akim> * automake.in: Promote local `my' over `local'. Ok. Thanks for doing this. I'm sure it is a pain. Tom

Re: 48-formying.patch

2001-02-21 Thread Tom Tromey
> "Akim" == Akim Demaille <[EMAIL PROTECTED]> writes: Akim> * automake.in: Formatting and mying changes. Ok. Could you add a `maintainer-check' rule to ensure that `local' doesn't creep back into the source? That would be handy... Tom

Re: 50-many-my.patch

2001-02-21 Thread Pavel Roskin
Hello, Akim! On Wed, 21 Feb 2001, Akim Demaille wrote: > Index: ChangeLog > from Akim Demaille <[EMAIL PROTECTED]> > > * automake.in: Promote local `my' over `local'. I fully agree with this approch. I believe you should be allowed to checking such patched without approval. But please b

Re: ##-xxx-xxx.patch

2001-02-21 Thread Tom Tromey
> "Pavel" == Pavel Roskin <[EMAIL PROTECTED]> writes: Pavel> It should be [EMAIL PROTECTED] for consistency with Pavel> Autoconf. ... and every other project in existence. This change is fine with me. Someone else has to create the list though. Can it be archived at GNU? If not, tell me

Re: ##-xxx-xxx.patch

2001-02-21 Thread Pavel Roskin
Hello, Allan! On Wed, 21 Feb 2001, Allan Clark wrote: > Akim, everyone; I'm rather everyone than Akim, but anyway :-) > Is there I way I can simply get the discussion, without the binary/patch > traffic? I would prefer to receive this kind of thing through an update > from a source-control (i

.PHONY targets are not needed?

2001-02-21 Thread akim
Is this only GNU Make, or a general property? /tmp % cat Makefile 21:37 remo all: foo bar .PHONY: all foo /tmp % make 21:37 remo make: *** No rule to make target `bar', needed by `all'. Stop