+2005-07-19 Stepan Kasal <kasal@ucw.cz>
+
+ * Makefile.am (automake, aclocal): Merge the rules.
+
2005-07-10 Alexandre Duret-Lutz <adl@gnu.org>
* lib/config.guess, lib/config.sub, lib/texinfo.tex: New upstream
## These files depend on Makefile so they are rebuilt if $(VERSION),
## $(datadir) or other do_subst'ituted variables change.
## Use chmod a-w to prevent people from editing the wrong file by accident.
-automake: automake.in Makefile
+automake: automake.in
+aclocal: aclocal.in
+automake aclocal: Makefile
rm -f $@ $@.tmp
- $(do_subst) $(srcdir)/automake.in >$@.tmp
- chmod +x $@.tmp
- chmod a-w $@.tmp
- mv -f $@.tmp $@
-
-aclocal: aclocal.in Makefile
- rm -f $@ $@.tmp
- $(do_subst) $(srcdir)/aclocal.in >$@.tmp
+ $(do_subst) $(srcdir)/$@.in >$@.tmp
chmod +x $@.tmp
chmod a-w $@.tmp
mv -f $@.tmp $@
rm -f $(DESTDIR)$(bindir)/$$fv; \
done
-automake: automake.in Makefile
+automake: automake.in
+aclocal: aclocal.in
+automake aclocal: Makefile
rm -f $@ $@.tmp
- $(do_subst) $(srcdir)/automake.in >$@.tmp
- chmod +x $@.tmp
- chmod a-w $@.tmp
- mv -f $@.tmp $@
-
-aclocal: aclocal.in Makefile
- rm -f $@ $@.tmp
- $(do_subst) $(srcdir)/aclocal.in >$@.tmp
+ $(do_subst) $(srcdir)/$@.in >$@.tmp
chmod +x $@.tmp
chmod a-w $@.tmp
mv -f $@.tmp $@