changeset 21271:6262a19fadeb

(top_distclean): Check the existence of `lock' subdir.
author Kenichi Handa <handa@m17n.org>
date Tue, 24 Mar 1998 05:41:22 +0000
parents 3f500b8d6964
children b1bc69132f55
files Makefile.in
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile.in	Mon Mar 23 13:26:00 1998 +0000
+++ b/Makefile.in	Tue Mar 24 05:41:22 1998 +0000
@@ -477,7 +477,7 @@
 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)