From: Kenichi Handa Date: Tue, 24 Mar 1998 05:41:22 +0000 (+0000) Subject: (top_distclean): Check the existence of `lock' subdir. X-Git-Tag: emacs-20.3~1803 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=80e79e3e7ce845090eaa7ad7b632f35ed14422d4;p=emacs.git (top_distclean): Check the existence of `lock' subdir. --- diff --git a/Makefile.in b/Makefile.in index 8d4a3eb68f6..291b586e477 100644 --- a/Makefile.in +++ b/Makefile.in @@ -477,7 +477,7 @@ clean: FRC top_distclean=\ rm -f config.status config.cache config.log ; \ rm -f Makefile ${SUBDIR_MAKEFILES} ; \ - (cd lock && (rm -f * || true)) + if [ -d lock ] ; then (cd lock && (rm -f * || true)); else true; fi distclean: FRC (cd src; $(MAKE) $(MFLAGS) distclean) (cd oldXMenu; $(MAKE) $(MFLAGS) distclean)