]> git.eshelyaron.com Git - emacs.git/commitdiff
(top_distclean): Check the existence of `lock' subdir.
authorKenichi Handa <handa@m17n.org>
Tue, 24 Mar 1998 05:41:22 +0000 (05:41 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 24 Mar 1998 05:41:22 +0000 (05:41 +0000)
Makefile.in

index 8d4a3eb68f67c6694b2511e1b18b88ed08f6a0ac..291b586e4774fed90e1b84a1d9259a0476af9c7f 100644 (file)
@@ -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)