From f67dce44d5067f58d29880c39b05ab50ab706958 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Mon, 19 Aug 2013 23:36:10 -0700 Subject: [PATCH] * Makefile.in (distclean, bootstrap-clean, maintainer-clean): Clean test/automated if present. --- ChangeLog | 5 +++++ Makefile.in | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/ChangeLog b/ChangeLog index 27395616072..1d2adca4044 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2013-08-20 Glenn Morris + + * Makefile.in (distclean, bootstrap-clean, maintainer-clean): + Clean test/automated if present. + 2013-08-19 Paul Eggert Merge from gnulib, incorporating: diff --git a/Makefile.in b/Makefile.in index ee74baf45cf..a0d91171d33 100644 --- a/Makefile.in +++ b/Makefile.in @@ -859,6 +859,8 @@ distclean: FRC (cd leim; $(MAKE) $(MFLAGS) distclean) (cd lisp; $(MAKE) $(MFLAGS) distclean) (cd nextstep && $(MAKE) $(MFLAGS) distclean) + [ ! -d test/automated ] || \ + cd test/automated && $(MAKE) $(MFLAGS) distclean ${top_distclean} ### `bootstrap-clean' @@ -878,6 +880,8 @@ bootstrap-clean: FRC (cd leim; $(MAKE) $(MFLAGS) maintainer-clean) (cd lisp; $(MAKE) $(MFLAGS) bootstrap-clean) (cd nextstep && $(MAKE) $(MFLAGS) maintainer-clean) + [ ! -d test/automated ] || \ + cd test/automated && $(MAKE) $(MFLAGS) bootstrap-clean [ ! -f config.log ] || mv -f config.log config.log~ ${top_bootclean} @@ -898,6 +902,8 @@ top_maintainer_clean=\ maintainer-clean: bootstrap-clean FRC (cd src; $(MAKE) $(MFLAGS) maintainer-clean) (cd lisp; $(MAKE) $(MFLAGS) maintainer-clean) + [ ! -d test/automated ] || \ + cd test/automated && $(MAKE) $(MFLAGS) maintainer-clean ${top_maintainer_clean} ### This doesn't actually appear in the coding standards, but Karl -- 2.39.2