Re: .PHONY targets are not needed?

2001-02-22 Thread Pavel Roskin
Hello, 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',

Re: ##-xxx-xxx.patch

2001-02-22 Thread Allan Clark
Akim, everyone; 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 (ie CVS) than copies from email. Should I sign up on a different list? Should [EMAIL PROTECTED] be formed?

50-many-my.patch

2001-02-22 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

52-factored-install.patch

2001-02-22 Thread Akim Demaille
This patch applies the same transformation, factoring, to install-data, install-exec and uninstall. Below are first presented the Makefiles of Automake. There is obviously a problem, which I do not solve in this already too long patch, but will address later: what do with empty targets. For

51-factored-cleans.patch

2001-02-22 Thread Akim Demaille
Index: ChangeLog from Akim Demaille [EMAIL PROTECTED] * automake.in (am_install_var): Don't hook on the clean targets and .PHONY. * data-clean.am, java-clean.am, libs-clean.am, lisp-clean.am, * ltlib-clean.am, progs-clean.am, python-clean.am, tags-clean.am:

Re: 46-formatting-changes.patch

2001-02-22 Thread Akim Demaille
Tom Tromey [EMAIL PROTECTED] writes: Akim -local ($sect, %sections, %vlist); Akim +local (%sections, %vlist); If you need to keep local here for now that is fine. But if so please add a big comment explaining why. Ignore this if this spot is fixed in a later patch. I'm reading

Re: Manual additions (DOS issues)

2001-02-22 Thread Alexandre Oliva
On Feb 20, 2001, "Tim Van Holder" [EMAIL PROTECTED] wrote: +case "$foo_dir" in + [\\/]* | ?:[\\/]) # Absolute ^ missing a `*' here, I suppose -- Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/ Red Hat GCC Developer

RE: Manual additions (DOS issues)

2001-02-22 Thread Tim Van Holder
+case "$foo_dir" in + [\\/]* | ?:[\\/]) # Absolute ^ missing a `*' here, I suppose Yep. Good catch.

Re: Manual additions (DOS issues)

2001-02-22 Thread Akim Demaille
"Tim Van Holder" [EMAIL PROTECTED] writes: @bullets are atrocious! We use @minus. Fine by me. Note that the only two other @itemizes in the manual both use @bullet. Arg, to be fixed ;) I removed the @*, AFAIK it's useless here, and anyway it is inconsistent with the rest of the doc.

multiple subdirectories for single library (F77 support)

2001-02-22 Thread Paul Martinolich
I have successfully used automake-1.4d to build a single library using multiple subdirectories using: lib_LIBRARIES = libjunk.a libjunk_a_SOURCES = src/a/a.c src/b/b.c But if one of the source is a FORTRAN source, it will not work :-( Is this a simple or difficult fix? I really love this

tests graceful tool dependencies

2001-02-22 Thread Derek R. Price
From tests/defs: # User can set which tools from Autoconf to use. test -z "$AUTOCONF" AUTOCONF=autoconf if ($AUTOCONF --version) /dev/null 21; then has_autoconf=: needs_autoconf=: else has_autoconf=false needs_autoconf='exit 77' fi What's

Re: set -e in subshell is now reliable

2001-02-22 Thread Tom Tromey
"Pavel" == Pavel Roskin [EMAIL PROTECTED] writes: Pavel You recently applied a patch to tests/target-cflags.test Pavel without mentioning it in ChangeLog. Maybe you didn't mean to Pavel commit that change? Oops. Pavel * tests/target-cflags.test: Don't use subshell to configure in Pavel

Re: tests graceful tool dependencies

2001-02-22 Thread Derek R. Price
"Derek R. Price" wrote: AUTOCONF='exit 77 ' Excuse me: AUTOCONF='exit 77 dummy' to keep the parser eternally happy. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com ) -- Every

Re: 47-factored-mans.patch

2001-02-22 Thread Tom Tromey
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim What would you say: make it local (i.e., install-man1 builds Akim MANS1), or global as it was. If easy, I prefer the first Akim solution, otherwise backup to the previous state. The first solution is ok. But note that install-man1 must

Re: multiple subdirectories for single library (F77 support)

2001-02-22 Thread Tom Tromey
"Paul" == Paul Martinolich [EMAIL PROTECTED] writes: Paul lib_LIBRARIES = libjunk.a Paul libjunk_a_SOURCES = src/a/a.c src/b/b.c Paul But if one of the source is a FORTRAN source, it will not work Paul :-( Is this a simple or difficult fix? I'm a bit suprised by this. How does it not work?

Re: tests graceful tool dependencies

2001-02-22 Thread Derek R. Price
"Derek R. Price" wrote: "Derek R. Price" wrote: AUTOCONF='exit 77 ' Excuse me: AUTOCONF='exit 77 dummy' to keep the parser eternally happy. Or almost eternally happy. Due to some wierdness where my Bash only evaluates a variable as a single command (i.e. ignoring ';', '',

Re: tests graceful tool dependencies

2001-02-22 Thread Derek R. Price
"Derek R. Price" wrote: test='eval exit 77 dummy' Whoops. Excuse me. That works in every case except ($test). The subshell created by parens breaks things. I guess that isn't all that robust. Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org )

add a recursive target?

2001-02-22 Thread Matthew R. MacIntyre
Hi, Is there an easy way to add a new recursive target to a top-level Makefile.am? For instance, I have a number of different directories with an "html" target in them. I'd like to have an easy way to run "make html" from the top-level without having to maintain a special target at the

55-mying-changes.patch

2001-02-22 Thread Akim Demaille
Index: ChangeLog from Akim Demaille [EMAIL PROTECTED] * automake.in: Mying changes. Index: automake.in --- automake.in Thu, 22 Feb 2001 20:44:50 +0100 akim (am/f/39_automake.i 1.62 755) +++ automake.in Thu, 22 Feb 2001 20:53:57 +0100 akim (am/f/39_automake.i 1.62 755) @@ -1509,9

53-47-addon.patch

2001-02-22 Thread Akim Demaille
Index: mans.am --- mans.am Wed, 21 Feb 2001 21:04:28 +0100 akim (am/g/24_mans.am 1.4 644) +++ mans.am Thu, 22 Feb 2001 20:28:43 +0100 akim (am/g/24_mans.am 1.4 644) @@ -17,7 +17,7 @@ ## 02111-1307, USA. .PHONY install-man: install-man@SECTION@ -install-man@SECTION@: +install-man@SECTION@:

54-mying-changes.patch

2001-02-22 Thread Akim Demaille
Index: ChangeLog from Akim Demaille [EMAIL PROTECTED] * automake.in: Mying changes. (handle_tags): Fix a bug uncovered by the previous mying changes: transform CONFIG into $config, not $xform. Index: automake.in --- automake.in Wed, 21 Feb 2001 21:04:28

56-mying-changes.patch

2001-02-22 Thread Akim Demaille
Index: ChangeLog from Akim Demaille [EMAIL PROTECTED] * automake.in: Mying changes. Index: automake.in --- automake.in Thu, 22 Feb 2001 20:55:47 +0100 akim (am/f/39_automake.i 1.63 755) +++ automake.in Thu, 22 Feb 2001 21:06:06 +0100 akim (am/f/39_automake.i 1.63 755) @@ -2480,8

Re: Testsuite fails

2001-02-22 Thread Derek R. Price
Akim Demaille wrote: Pavel Roskin [EMAIL PROTECTED] writes: We probably need a special macro, e.g. AC_REQUIRE_FILE, so that the macros will be able to indicate what files they need. This is what Derek and I are working on :) But I doubt 2.50 will be the good starting point, 2.51 will.

Redundant PACKAGE VERSION set in test suite?

2001-02-22 Thread Derek R. Price
Is there a good reason that the following constructs occasionally appear in 'configure.in's as created by the test suite? AM_INIT_AUTOMAKE(nonesuch, nonesuch) PACKAGE=nonesuch VERSION=nonesuch Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org )

59-var-vs-target.patch

2001-02-22 Thread Akim Demaille
Index: ChangeLog from Akim Demaille [EMAIL PROTECTED] * automake.in (initialize_per_input): %targets_conditionals is new. (read_am_file): When slurping a rule, set the target related variable, and no variable related variable. (file_contents): Likewise.

58-var-vs-target.patch

2001-02-22 Thread Akim Demaille
It's only the beginning, but Automake shall not forbid us from having both a variable INSTALL and a target INSTALL. More is needed, but at first sight, not too much. In fact, I've had to finish the job, because the following test was falling: cat Makefile.am 'END' bin_PROGRAMS =

Re: tests graceful tool dependencies

2001-02-22 Thread Tom Tromey
"Derek" == Derek R Price [EMAIL PROTECTED] writes: Derek Whoops. Excuse me. That works in every case except ($test). Derek The subshell created by parens breaks things. I guess that Derek isn't all that robust. I'm not too concerned about this. Once we switch fully to using traces, autoconf

Re: Testsuite fails

2001-02-22 Thread Tom Tromey
"Derek" == Derek R Price [EMAIL PROTECTED] writes: I imagine we'll have to radically revamp the test suite when we move to using autoconf's tracing feature. The current test suite is very dumb and doesn't usually generate a correct configure.in. Derek I'm working on this so I can test my

Re: Redundant PACKAGE VERSION set in test suite?

2001-02-22 Thread Tom Tromey
"Derek" == Derek R Price [EMAIL PROTECTED] writes: Derek Is there a good reason that the following constructs Derek occasionally appear in 'configure.in's as created by the test Derek suite? This is almost certainly just a remnant of old times, before AM_INIT_AUTOMAKE existed. Tom

Re: 53-47-addon.patch

2001-02-22 Thread Tom Tromey
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim -install-man@SECTION@: Akim +install-man@SECTION@: $(man@SECTION@_MANS) $(man_MANS) Don't forget to update ChangeLog. This is ok. Tom

Re: 57-my-last-mying-changes.patch

2001-02-22 Thread Tom Tromey
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim Six, six for them! (I'm not counting those for file handles, Akim which perl refuses as my, not sure to understand why). The way file handles work is another reason to dislike Perl. At least, I've always found them confusing. Akim *

Re: add a recursive target?

2001-02-22 Thread Tom Tromey
"Matt" == Matthew R MacIntyre [EMAIL PROTECTED] writes: Matt Is there an easy way to add a new recursive target to a Matt top-level Makefile.am? Nope. Matt For instance, I have a number of different directories with an Matt "html" target in them. I'd like to have an easy way to run Matt

Re: 58-var-vs-target.patch

2001-02-22 Thread Tom Tromey
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim In fact, I've had to finish the job, because the following test Akim was falling: Akim cat Makefile.am 'END' Akim bin_PROGRAMS = consud Akim ## Note next line is target, not variable. Akim consud_SOURCES: consud.c Akim

Re: PATCH: patsubst support

2001-02-22 Thread Tom Tromey
"Kevin" == Kevin Ryde [EMAIL PROTECTED] writes: Kevin It'd be nice to be able to embed little fragments of perl to do Kevin things like that, for the "static" case that is. But perhaps Kevin that idea has come up before. I've long resisted letting the user extend Makefile.am with Perl code. I

Re: PATCH: patsubst support

2001-02-22 Thread Tom Tromey
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim Yep, by default Automake must not let the users do nonportable Akim things. I'm sorry about that, but I believe it's a strong Akim requirement. I'm finally following up to this -- it was buried in my overly large automake mailbox.

target / variable separation

2001-02-22 Thread Tom Tromey
Akim -- One problem with target/variable separation is that am_line_error accepts a variable name as its first argument. If they are separate then some calls to this may become ambiguous. This can probably be fixed, but it is something to be aware of. Tom

Re: PATCH: patsubst support

2001-02-22 Thread Tom Tromey
"Pavel" == Pavel Roskin [EMAIL PROTECTED] writes: -($from = $2) =~ s/(\W)/\\$1/g; +($from = $2) =~ s/(\W)/$1/g; Pavel I don't understrand this. This change will affect the Pavel traditional rules as well. It should probably be a separate Pavel patch if it fixes a

Re: problem compiling on DEC with dependencies (cxx -M)

2001-02-22 Thread Tom Tromey
"Patrick" == Patrick Guio [EMAIL PROTECTED] writes: Sorry for the long delay in my reply to this... Patrick I am not sure if this is to be adressed to libtool or maybe Patrick automake since the problem might come from depcom... Could be either. Patrick Anyway I am trying to build a c++