]> code.delx.au - gnu-emacs/blobdiff - admin/grammars/Makefile.in
Update copyright year to 2015
[gnu-emacs] / admin / grammars / Makefile.in
index b89df7116a66beacf3610bdc72905af3523d80a9..b88521f4b4788a4ff0dc534fd9e5baf86c8b8efb 100644 (file)
@@ -1,6 +1,6 @@
 ### @configure_input@
 
-## Copyright (C) 2013-2014 Free Software Foundation, Inc.
+## Copyright (C) 2013-2015 Free Software Foundation, Inc.
 
 ## This file is part of GNU Emacs.
 
@@ -66,39 +66,32 @@ bovine: ${BOVINE}
 
 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
+## c-by.el, make-by.el.
+${bovinedir}/%-by.el: ${srcdir}/%.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 "$@" $<
 
-${wisentdir}/javat-wy.el: ${srcdir}/java-tags.wy
+## js-wy.el, python-wy.el
+${wisentdir}/%-wy.el: ${srcdir}/%.wy
        [ ! -f "$@" ] || chmod +w "$@"
-       ${make_wisent} -o "$@" ${srcdir}/java-tags.wy
+       ${make_wisent} -o "$@" $<
 
-${wisentdir}/js-wy.el: ${srcdir}/js.wy
-       [ ! -f "$@" ] || chmod +w "$@"
-       ${make_wisent} -o "$@" ${srcdir}/js.wy
-
-${wisentdir}/python-wy.el: ${srcdir}/python.wy
+${wisentdir}/javat-wy.el: ${srcdir}/java-tags.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
@@ -106,7 +99,10 @@ ${cedetdir}/srecode/srt-wy.el: ${srcdir}/srecode-template.wy
 distclean:
        rm -f Makefile
 
-bootstrap-clean maintainer-clean: distclean
+## Perhaps this should do what extraclean (qv) does.
+bootstrap-clean:
+
+maintainer-clean: distclean
 
 ## We do not normally delete the generated files, even in bootstrap.
 ## Creating them does not take long, so we could easily change this.