[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r117393: admin/grammars: Use pattern rules in Makefi
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] trunk r117393: admin/grammars: Use pattern rules in Makefile |
Date: |
Wed, 25 Jun 2014 06:23:08 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 117393
revision-id: address@hidden
parent: address@hidden
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Tue 2014-06-24 23:23:04 -0700
message:
admin/grammars: Use pattern rules in Makefile
* admin/grammars/Makefile.in (${bovinedir}/c-by.el, ${bovinedir}/make-by.el):
(${wisentdir}/js-wy.el, ${wisentdir}/python-wy.el): Replace with pattern
rules.
(${bovinedir}/scm-by.el, ${wisentdir}/javat-wy.el)
(${cedetdir}/srecode/srt-wy.el): Use $<.
modified:
admin/ChangeLog changelog-20091113204419-o5vbwnq5f7feedwu-2226
admin/grammars/Makefile.in makefile.in-20131130001301-3lt9hqzbk9kx1z05-1
=== modified file 'admin/ChangeLog'
--- a/admin/ChangeLog 2014-06-25 06:03:13 +0000
+++ b/admin/ChangeLog 2014-06-25 06:23:04 +0000
@@ -1,5 +1,11 @@
2014-06-25 Glenn Morris <address@hidden>
+ * grammars/Makefile.in (${bovinedir}/c-by.el, ${bovinedir}/make-by.el):
+ (${wisentdir}/js-wy.el, ${wisentdir}/python-wy.el):
+ Replace with pattern rules.
+ (${bovinedir}/scm-by.el, ${wisentdir}/javat-wy.el)
+ (${cedetdir}/srecode/srt-wy.el): Use $<.
+
* unidata/Makefile.in (${top_srcdir}/src/macuvs.h): Make and load .elc.
(.el.elc): Replace with pattern rule.
(%.elc): New.
=== modified file 'admin/grammars/Makefile.in'
--- a/admin/grammars/Makefile.in 2014-04-11 06:51:49 +0000
+++ b/admin/grammars/Makefile.in 2014-06-25 06:23:04 +0000
@@ -66,39 +66,32 @@
wisent: ${WISENT}
-
-${bovinedir}/c-by.el: ${srcdir}/c.by
- [ ! -f "$@" ] || chmod +w "$@"
- ${make_bovine} -o "$@" ${srcdir}/c.by
-
-${bovinedir}/make-by.el: ${srcdir}/make.by
- [ ! -f "$@" ] || chmod +w "$@"
- ${make_bovine} -o "$@" ${srcdir}/make.by
+## c-by.el, make-by.el.
+${bovinedir}/%-by.el: ${srcdir}/%.by
+ [ ! -f "$@" ] || chmod +w "$@"
+ ${make_bovine} -o "$@" $<
${bovinedir}/scm-by.el: ${srcdir}/scheme.by
[ ! -f "$@" ] || chmod +w "$@"
- ${make_bovine} -o "$@" ${srcdir}/scheme.by
-
-
-${cedetdir}/semantic/grammar-wy.el: ${srcdir}/grammar.wy
- [ ! -f "$@" ] || chmod +w "$@"
- ${make_wisent} -o "$@" ${srcdir}/grammar.wy
+ ${make_bovine} -o "$@" $<
+
+## grammar-wy.el
+${cedetdir}/semantic/%-wy.el: ${srcdir}/%.wy
+ [ ! -f "$@" ] || chmod +w "$@"
+ ${make_wisent} -o "$@" $<
+
+## js-wy.el, python-wy.el
+${wisentdir}/%-wy.el: ${srcdir}/%.wy
+ [ ! -f "$@" ] || chmod +w "$@"
+ ${make_wisent} -o "$@" $<
${wisentdir}/javat-wy.el: ${srcdir}/java-tags.wy
[ ! -f "$@" ] || chmod +w "$@"
- ${make_wisent} -o "$@" ${srcdir}/java-tags.wy
-
-${wisentdir}/js-wy.el: ${srcdir}/js.wy
- [ ! -f "$@" ] || chmod +w "$@"
- ${make_wisent} -o "$@" ${srcdir}/js.wy
-
-${wisentdir}/python-wy.el: ${srcdir}/python.wy
- [ ! -f "$@" ] || chmod +w "$@"
- ${make_wisent} -o "$@" ${srcdir}/python.wy
+ ${make_wisent} -o "$@" $<
${cedetdir}/srecode/srt-wy.el: ${srcdir}/srecode-template.wy
[ ! -f "$@" ] || chmod +w "$@"
- ${make_wisent} -o "$@" ${srcdir}/srecode-template.wy
+ ${make_wisent} -o "$@" $<
.PHONY: distclean bootstrap-clean maintainer-clean extraclean
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r117393: admin/grammars: Use pattern rules in Makefile,
Glenn Morris <=