From 65a5c2fd15b6b322cb5cab9728227607e4aa438e Mon Sep 17 00:00:00 2001 From: Linus Tolke Y <linus@lysator.liu.se> Date: Mon, 6 Jul 1992 13:36:11 +0000 Subject: [PATCH] Fixed bug in the Makefile. The clean did not clean the subdirs. --- src/libraries/libcommon/ChangeLog | 4 ++++ src/libraries/libcommon/Makefile | 7 ++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/src/libraries/libcommon/ChangeLog b/src/libraries/libcommon/ChangeLog index 1d73a251b..ab3fb6caa 100644 --- a/src/libraries/libcommon/ChangeLog +++ b/src/libraries/libcommon/ChangeLog @@ -1,3 +1,7 @@ +Mon Jul 6 15:34:30 1992 Linus Tolke Y (linus@robin) + + * Makefile: Completed clean to cleaning the sub-dirs also. + Wed Feb 26 19:51:37 1992 Per Cederqvist (ceder@lysator) * kom-errno.c: Lint from gcc 2.0 removed. diff --git a/src/libraries/libcommon/Makefile b/src/libraries/libcommon/Makefile index ee320b0b4..87b5f898e 100644 --- a/src/libraries/libcommon/Makefile +++ b/src/libraries/libcommon/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 0.11 1992/04/14 15:43:14 ceder Exp $ +# $Id: Makefile,v 0.12 1992/07/06 13:36:11 linus Exp $ # Copyright (C) 1991 Lysator Academic Computer Association. # # This file is part of the LysKOM server. @@ -68,6 +68,11 @@ liblyskom-client$(PROFILE-LIB-SUFFIX).a: client-dir clean: $(RM) $(GENERIC-CLEAN) $(LIBRARIES) + -for i in client-dir server-dir; \ + do \ + [ -d $$i ] && { echo cleaning directory $$i ; \ + (cd $$i; $(RM) $(GENERIC-CLEAN)) } \ + done distclean: clean $(RM) $(GENERIC-DIST-CLEAN) -- GitLab