From e6124e9d0c797e2d14a966bc67ee9949b2028f06 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 21 May 1994 07:18:39 +0000 Subject: [PATCH] (mostlyclean, clean, distclean, realclean) (extraclean): Don't act on man subdir if it doesn't exist. --- Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile.in b/Makefile.in index 969fcb8a962..9c7e7ee5c9c 100644 --- a/Makefile.in +++ b/Makefile.in @@ -386,7 +386,7 @@ mostlyclean: FRC.mostlyclean (cd oldXMenu; $(MAKE) $(MFLAGS) mostlyclean) (cd lwlib; $(MAKE) $(MFLAGS) mostlyclean) (cd lib-src; $(MAKE) $(MFLAGS) mostlyclean) - -(cd man; $(MAKE) $(MFLAGS) mostlyclean) + -(cd man && $(MAKE) $(MFLAGS) mostlyclean) ### `clean' ### Delete all files from the current directory that are normally @@ -401,7 +401,7 @@ clean: FRC.clean (cd oldXMenu; $(MAKE) $(MFLAGS) clean) (cd lwlib; $(MAKE) $(MFLAGS) clean) (cd lib-src; $(MAKE) $(MFLAGS) clean) - -(cd man; $(MAKE) $(MFLAGS) clean) + -(cd man && $(MAKE) $(MFLAGS) clean) ### `distclean' ### Delete all files from the current directory that are created by @@ -418,7 +418,7 @@ distclean: FRC.distclean (cd oldXMenu; $(MAKE) $(MFLAGS) distclean) (cd lwlib; $(MAKE) $(MFLAGS) distclean) (cd lib-src; $(MAKE) $(MFLAGS) distclean) - (cd man; $(MAKE) $(MFLAGS) distclean) + (cd man && $(MAKE) $(MFLAGS) distclean) ${top_distclean} @@ -438,7 +438,7 @@ realclean: FRC.realclean (cd oldXMenu; $(MAKE) $(MFLAGS) realclean) (cd lwlib; $(MAKE) $(MFLAGS) realclean) (cd lib-src; $(MAKE) $(MFLAGS) realclean) - -(cd man; $(MAKE) $(MFLAGS) realclean) + -(cd man && $(MAKE) $(MFLAGS) realclean) ${top_distclean} ### This doesn't actually appear in the coding standards, but Karl -- 2.39.5