.sh:
rm -f $@ $@.tmp
- $(editsh) $< > $@.tmp && mv $@.tmp $@ && chmod +x $@
+ $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
.pl:
rm -f $@ $@.tmp
- $(editpl) $< > $@.tmp && mv $@.tmp $@ && chmod +x $@
+ $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
info: autoconf.info @standards_info@ INSTALL
cd $(srcdir); \
rm -f $@ $@.tmp; \
$(M4) autoconf.m4 configure.in > $@.tmp && \
- mv $@.tmp $@ && \
- chmod +x $@
+ chmod +x $@.tmp && mv $@.tmp $@
Makefile: Makefile.in config.status
./config.status
config.status: configure
.sh:
rm -f $@ $@.tmp
- $(editsh) $< > $@.tmp && mv $@.tmp $@ && chmod +x $@
+ $(editsh) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
.pl:
rm -f $@ $@.tmp
- $(editpl) $< > $@.tmp && mv $@.tmp $@ && chmod +x $@
+ $(editpl) $< > $@.tmp && chmod +x $@.tmp && mv $@.tmp $@
info: autoconf.info @standards_info@ INSTALL
cd $(srcdir); \
rm -f $@ $@.tmp; \
$(M4) autoconf.m4 configure.in > $@.tmp && \
- mv $@.tmp $@ && \
- chmod +x $@
+ chmod +x $@.tmp && mv $@.tmp $@
Makefile: Makefile.in config.status
./config.status
config.status: configure