* Makefile.am (.in): Ensure that each generated script is unwritable.
This makes it less likely that someone (even me) will mistakenly
modify one of those generated files.
SUFFIXES = .in
.in:
- $(AM_V_GEN)sed \
+ $(AM_V_GEN)rm -f $@-t $@ \
+ && sed \
-e 's|/bin/sh|$(SHELL)|g' \
-e 's|[@]GREP@|$(GREP)|g' \
-e 's|[@]VERSION@|$(VERSION)|g' \
$(srcdir)/$@.in >$@-t \
- && chmod a+x $@-t \
+ && chmod a=rx $@-t \
&& mv $@-t $@
# Arrange so that .tarball-version appears only in the distribution