diff options
author | Alexandre Duret-Lutz <adl@gnu.org> | 2001-11-16 10:25:58 +0000 |
---|---|---|
committer | Alexandre Duret-Lutz <adl@gnu.org> | 2001-11-16 10:25:58 +0000 |
commit | f391cff9c01d5226f2cdaace319a08d56228049a (patch) | |
tree | ff41ad2cf656f618719fdb79aa82a25df8b4a64d /lib/am/lex.am | |
parent | 401f009a7f15fba879e36908271c4cad9b965114 (diff) | |
download | automake-f391cff9c01d5226f2cdaace319a08d56228049a.tar.gz |
At every place where an "$extension" is used, include the leading
dot in the extension, don't hardcode it when building the filename.
That will make any support for a dot-less extension easier to add.
* automake.in (SUFFIX_RULE_PATTERN): Include extension dots in
backref groups.
("main"): Prepend a '.' to the supported extensions of all
languages (e.g. 'c' becomes '.c').
(handle_languages, handle_single_transform_list,
handle_lib_objects_cond, handle_headers, derive_suffix,
rule_define): Do not add a dot
before extensions, and include dots in matching groups.
* lib/am/depend2.am (.%EXT%.o, .%EXT%.obj, .%EXT%.lo): Rename as ...
(%EXT%.o, %EXT%.obj, %EXT%.lo): ... these.
* lib/am/lex.am (.%EXT%.%DERIVED-EXT%): Rename as ...
(%EXT%%DERIVED-EXT%): ... this.
* lib/am/yacc.am: Likewise.
Diffstat (limited to 'lib/am/lex.am')
-rw-r--r-- | lib/am/lex.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/am/lex.am b/lib/am/lex.am index 8d0f996cb..a61663f56 100644 --- a/lib/am/lex.am +++ b/lib/am/lex.am @@ -21,7 +21,7 @@ LEX_OUTPUT_ROOT = @LEX_OUTPUT_ROOT@ LEXLIB = @LEXLIB@ -?GENERIC?.%EXT%.%DERIVED-EXT%: +?GENERIC?%EXT%%DERIVED-EXT%: ?!GENERIC?%OBJ%: %SOURCE% if %?MORE-THAN-ONE% $(SHELL) $(YLWRAP) %SOURCE% $(LEX_OUTPUT_ROOT).c %OBJ% -- %COMPILE% |