]> git.ipfire.org Git - thirdparty/automake.git/commitdiff
elisp: prefer pattern rules to suffix rules
authorStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 6 Aug 2012 08:04:56 +0000 (10:04 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Mon, 6 Aug 2012 08:04:56 +0000 (10:04 +0200)
* lib/am/lisp.am: Here, turning ...
(.el.elc): ... this ...
(%elc: %.el): ... into this.

Signed-off-by: Stefano Lattarini <stefano.lattarini@gmail.com>
lib/am/lisp.am

index cb8f1839aa73d3783062f3dcc3cc9ef43cf51b1c..538a6ca44ed4c058dc0773dcfaee4614f2e1dfed 100644 (file)
@@ -22,7 +22,7 @@ endif %?INSTALL%
 ## Building.  ##
 ## ---------- ##
 
-.el.elc:
+%.elc: %.el
 ## We add $(builddir) and $(srcdir) to load-path, so that any '.el' files
 ## that $< depends upon can be found (including generated ones).
 ## We prefer files from the build directory to those from the source