autoconf.in: $(srcdir)/autoconf.as $(m4sh_m4f_dependencies)
$(MY_AUTOM4TE) --language M4sh --cache '' $(srcdir)/autoconf.as -o $@
-$(bin_SCRIPTS): Makefile
+autoheader autom4te autoreconf autoscan autoupdate ifnames: Makefile
rm -f $@ $@.tmp
$(edit) $(srcdir)/$@.in >$@.tmp
chmod +x $@.tmp
chmod a-w $@.tmp
mv $@.tmp $@
-autoconf: $(srcdir)/autoconf.in
autoheader: $(srcdir)/autoheader.in
autom4te: $(srcdir)/autom4te.in
autoreconf: $(srcdir)/autoreconf.in
autoscan: $(srcdir)/autoscan.in
autoupdate: $(srcdir)/autoupdate.in
ifnames: $(srcdir)/ifnames.in
+
+# autoconf.in is in ., not in $(srcdir).
+autoconf: autoconf.in Makefile
+ rm -f $@ $@.tmp
+ $(edit) $@.in >$@.tmp
+ chmod +x $@.tmp
+ chmod a-w $@.tmp
+ mv $@.tmp $@
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.
.NOEXPORT: