diff options
author | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-05-09 14:04:31 +0200 |
---|---|---|
committer | Stefano Lattarini <stefano.lattarini@gmail.com> | 2012-05-10 13:17:51 +0200 |
commit | 21423249a97c95023d79536ab570939c507d2df2 (patch) | |
tree | 9e6d52f55ebb52180497213d5f6288c4190e5987 /lib/am/yacc.am | |
parent | 4b8c7705ccca9e8bf0cef0a6a4cfa0e6dc24bf9a (diff) | |
download | automake-21423249a97c95023d79536ab570939c507d2df2.tar.gz |
[ng] am: prefer pattern rules over old-fashioned suffix rules
The use of pattern rules is cleaner, safer, and vouched for in the
GNU make manual itself. Moreover, it will allow us to obtain some
simplifications in the automake script and the documentation in
future changes.
* lib/am/texinfos.am: Turn this suffix rules into pattern rules.
* lib/am/texibuild.am: Likewise.
* lib/am/depend2.am: Likewise.
* lib/am/yacc.am: Likewise.
* lib/am/lex.am: Likewise.
* lib/am/lang-compile.am: Likewise. Also, since we are at it, remove
extra blank lines and quote 'like this' rather than `like this'.
* t/ext.sh: Adjust.
* t/objc-basic.sh: Likewise.
* t/objcxx-basic.sh: Likewise.
* t/txinfo6.sh: Likewise.
* t/suffix.sh: Likewise.
* t/suffix2.sh: Likewise. Also, define a dummy LIBTOOL in Makefile.am
instead of requiring the libtool macros.
* t/cxx.sh: Remove as obsolete.
* t/nodep.sh: Likewise.
Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
Diffstat (limited to 'lib/am/yacc.am')
-rw-r--r-- | lib/am/yacc.am | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/am/yacc.am b/lib/am/yacc.am index 04cdc99a3..4815087c6 100644 --- a/lib/am/yacc.am +++ b/lib/am/yacc.am @@ -41,7 +41,7 @@ am__yacc_c2h = sed -e s/cc$$/hh/ -e s/cpp$$/hpp/ -e s/cxx$$/hxx/ \ -e s/c++$$/h++/ -e s/c$$/h/ endif %?FIRST% -?GENERIC?%EXT%%DERIVED-EXT%: +?GENERIC?%%DERIVED-EXT%: %%EXT% ?!GENERIC?%OBJ%: %SOURCE% ?SUBDIROBJ? %SILENT%test -d $(dir $@) || $(MKDIR_P) $(dir $@) %VERBOSE% \ |