Merge from emacs-24; up to 2014-04-04T23:31:02Z!joaotavora@gmail.com
[bpt/emacs.git] / admin / grammars / Makefile.in
index 94c2e9a..827240a 100644 (file)
@@ -1,6 +1,6 @@
 ### @configure_input@
 
-## Copyright (C) 2013 Free Software Foundation, Inc.
+## Copyright (C) 2013-2014 Free Software Foundation, Inc.
 
 ## This file is part of GNU Emacs.
 
@@ -65,28 +65,36 @@ 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
 
 ${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
 
 ${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
 
 ${cedetdir}/srecode/srt-wy.el: ${srcdir}/srecode-template.wy
+       [ ! -f "$@" ] || chmod +w "$@"
        ${make_wisent} -o "$@" ${srcdir}/srecode-template.wy