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 $<.
This commit is contained in:
parent
4c920f37c5
commit
4f2a67acd0
2 changed files with 20 additions and 21 deletions
|
@ -1,5 +1,11 @@
|
|||
2014-06-25 Glenn Morris <rgm@gnu.org>
|
||||
|
||||
* 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.
|
||||
|
|
|
@ -66,39 +66,32 @@ bovine: ${BOVINE}
|
|||
|
||||
wisent: ${WISENT}
|
||||
|
||||
|
||||
${bovinedir}/c-by.el: ${srcdir}/c.by
|
||||
## c-by.el, make-by.el.
|
||||
${bovinedir}/%-by.el: ${srcdir}/%.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
|
||||
${make_bovine} -o "$@" $<
|
||||
|
||||
${bovinedir}/scm-by.el: ${srcdir}/scheme.by
|
||||
[ ! -f "$@" ] || chmod +w "$@"
|
||||
${make_bovine} -o "$@" ${srcdir}/scheme.by
|
||||
${make_bovine} -o "$@" $<
|
||||
|
||||
|
||||
${cedetdir}/semantic/grammar-wy.el: ${srcdir}/grammar.wy
|
||||
## grammar-wy.el
|
||||
${cedetdir}/semantic/%-wy.el: ${srcdir}/%.wy
|
||||
[ ! -f "$@" ] || chmod +w "$@"
|
||||
${make_wisent} -o "$@" ${srcdir}/grammar.wy
|
||||
${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
|
||||
|
|
Loading…
Add table
Reference in a new issue