Re: Uppercasing files

2001-01-31 Thread Emiliano
Tom Tromey wrote: "Emile" == Emiliano [EMAIL PROTECTED] writes: Emile I'm trying to create an automake file that has rules to Emile uppercase files. For example I have something.ext and I want Emile it to create a copy SOMETHING.EXT. I tried with this: Emile pkgdata_DATA =

Re: Uppercasing files

2001-01-31 Thread Alexandre Oliva
On Jan 31, 2001, Emiliano [EMAIL PROTECTED] wrote: Tom Tromey wrote: Write explicit rules. SOMETHING.EXT: something.ext Yes, but I'd rather not if it can be avoided. I'm afraid it can't. Unix is case-sensitive, why shouldn't `make' be? Well... I suppose you could do something about it

Re: Uppercasing files

2001-01-31 Thread Emiliano
Alexandre Oliva wrote: On Jan 31, 2001, Emiliano [EMAIL PROTECTED] wrote: Tom Tromey wrote: Write explicit rules. SOMETHING.EXT: something.ext Yes, but I'd rather not if it can be avoided. I'm afraid it can't. Unix is case-sensitive, why shouldn't `make' be? But that's the

[patch 2/2] support AC_SUBST'able automake rules

2001-01-31 Thread Lars J. Aas
This patch makes it possible to have AC_SUBST keywords in for instance library names, allowing for much greater flexibility. It depends on patch 1/2, of course. 2001-02-01 Lars J. Aas [EMAIL PROTECTED] * automake.in ($quote_ats): New. ($MACRO_PATTERN, $CANONICALS): Allow '@'s

Re: 10-check-am.patch

2001-01-31 Thread Akim Demaille
"Tom" == Tom Tromey [EMAIL PROTECTED] writes: "Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim It means that for instance we could have Akim a b c: d e f Akim in a .am file, and have file_contents_with_transform (provided Akim we taught it that a, b and c are special targets) push @a,

Re: New bugs

2001-01-31 Thread Akim Demaille
"Tom" == Tom Tromey [EMAIL PROTECTED] writes: Tom The reason is only historical. Feel free to change it. I'm applying this. Sure, more clarification is needed in this area. I find it especially hard to track failures of substitution since Automake uses @FOO@ just like AC_SUBST :( Can't we

Re: New bugs

2001-01-31 Thread Akim Demaille
"Tom" == Tom Tromey [EMAIL PROTECTED] writes: Tom Later we see: Tom # Generate rule for `.o'. . 's/^\@EXT\@\.o:/' . $obj Tom . '.o: ' . $source . '/g;' Tom I think we need to quote $obj and $source here; this was handled Tom in the old code. I did not change anything in the

Re: New bugs

2001-01-31 Thread Akim Demaille
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim First I want to write/enhance a test that fails on this. Sorry for being that dumb. I finally understood the problem. Here is what I'm applying: Index: ChangeLog from Akim Demaille [EMAIL PROTECTED] * automake.in

Re: 15-file-contents-paragraph.patch

2001-01-31 Thread Tom Tromey
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim * automake.in (file_contents): Rewrite: instead of trying to parse Akim it line by line, first swallow it completely into $CONTENTS, Akim *then*, parse it *paragraph* by paragraph. I see this went in. What is the rationale for this

Re: 17-factored-dependencies.patch

2001-01-31 Thread Tom Tromey
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim * automake.in (%factored_dependencies): New. Akim (file_contents): Use it. Akim (handle_phony): Rename as... Akim (handle_factored_dependencies): this. Akim * subdirs.am: No need for convolved syntax to declare .PHONY. Akim +#

Re: 10-check-am.patch

2001-01-31 Thread Tom Tromey
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim My `plan' is what I implemented in the patch named Akim factored-dependencies. Thanks. I missed some patches in my inbox last night. BTW subdirs.am doesn't have .PHONY entries for the *clean-recursive rules. Is this intentional? Tom

Re: New bugs

2001-01-31 Thread Tom Tromey
"Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim First I want to write/enhance a test that fails on this. Try `make TESTS=subobj4.test VERBOSE=t check'. That will tell you all about the problem. Tom

Re: [revised patch 1/1] support AC_SUBST'able automake rules

2001-01-31 Thread Lars J. Aas
On Wed, Jan 31, 2001 at 05:02:06PM +0100, Lars J. Aas wrote: : I've revised the patch to include the latest changes from CVS Autoconf, : which made the complate patch somewhat simpler than before. I even corrected complete My fingers are slippy today. Anyways, are the people

Re: 17-factored-dependencies.patch

2001-01-31 Thread akim
On Wed, Jan 31, 2001 at 11:22:15AM -0700, Tom Tromey wrote: "Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim * automake.in (%factored_dependencies): New. Akim (file_contents): Use it. Akim (handle_phony): Rename as... Akim

Re: 15-file-contents-paragraph.patch

2001-01-31 Thread akim
On Wed, Jan 31, 2001 at 11:19:37AM -0700, Tom Tromey wrote: "Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim * automake.in (file_contents): Rewrite: instead of trying to parse Akim it line by line, first swallow it completely into $CONTENTS, Akim *then*, parse

Re: 10-check-am.patch

2001-01-31 Thread akim
On Wed, Jan 31, 2001 at 11:27:05AM -0700, Tom Tromey wrote: "Akim" == Akim Demaille [EMAIL PROTECTED] writes: Akim My `plan' is what I implemented in the patch named Akim factored-dependencies. Thanks. I missed some patches in my inbox last night. BTW subdirs.am doesn't have .PHONY

patch: stamp-h? files in subdirs

2001-01-31 Thread Derek R. Price
stamp-h? files in subdirs are still being created in the wrong locations by an automake configure script. The problem was in AM_CONFIG_HEADERS. I fixed it, but is dependent on the autoconf beta. Patch attached. I was thinking of attempting to eliminate the need for the recreation of stamp-h?

RE: patch: stamp-h? files in subdirs

2001-01-31 Thread Tim Van Holder
(_AM_DIRNAME): helper function which basically implements an sh `dirname` in m4 Only have 1 problem with it: no support for DOS-style paths (and this is conveniently not tested in your dirname.test either :-P). It's bad enough working on patches for proper DOS/Win support when

amtraces functionality

2001-01-31 Thread Derek R. Price
The amtraces functionality for AC_CONFIG_FILES is totally broken. Anyone mind if I spend a few minutes on it? Derek -- Derek Price CVS Solutions Architect ( http://CVSHome.org ) mailto:[EMAIL PROTECTED] OpenAvenue ( http://OpenAvenue.com ) -- I don't suffer from stress.

18-depend.patch

2001-01-31 Thread Akim Demaille
This patch gets rid of @phony, using only %dependencies. depend makes it somewhat more digest. It also fixes the problem Tom spotted, where my version of @phony was improperly initialized globally. There are other targets that can take advantage of this: clean etc., in fact, those which are

20-distdir-am.patch

2001-01-31 Thread Akim Demaille
Actually, it seems to me there is not enough paragraph rules at all in automake. Instead of the attrocious @SUBDIRS@ for subdir in $(@DIST_SUBDIR_NAME@); do \ @SUBDIRS@ if test "$$subdir" = .; then :; else \ @SUBDIRS@ test -d $(distdir)/$$subdir \ @SUBDIRS@ ||

Re: patch: stamp-h? files in subdirs

2001-01-31 Thread Tom Tromey
"Derek" == Derek R Price [EMAIL PROTECTED] writes: Derek by an automake configure script. The problem was in Derek AM_CONFIG_HEADERS. I fixed it, but is dependent on the Derek autoconf beta. The next automake must be compatible with the old autoconf. So this patch can't go in as-is. Tom

Re: patch: stamp-h? files in subdirs

2001-01-31 Thread Derek R. Price
Tim Van Holder wrote: (_AM_DIRNAME): helper function which basically implements an sh `dirname` in m4 Only have 1 problem with it: no support for DOS-style paths (and this is conveniently not tested in your dirname.test either :-P). Yeah, sorry. I noticed that, but I