From df2af6bf472b68307d8ae217f631e6d6d89c844d Mon Sep 17 00:00:00 2001 From: Randy Kunkee Date: Wed, 5 Jul 2000 17:05:42 +0000 Subject: [PATCH] Only process back-* subdirectories that have a Makefile. --- servers/slapd/Makefile.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/servers/slapd/Makefile.in b/servers/slapd/Makefile.in index c27ebbd315..d7787e7127 100644 --- a/servers/slapd/Makefile.in +++ b/servers/slapd/Makefile.in @@ -160,7 +160,7 @@ sslapd: version.o .backend: $(@PLAT@_IMPLIB) FORCE @for i in back-*; do \ - if [ -d $$i ]; then \ + if [ -d $$i -a -f $$i/Makefile ]; then \ echo " "; echo " cd $$i; $(MAKE) $(MFLAGS) all"; \ ( cd $$i; $(MAKE) $(MFLAGS) all ); \ if test $$? != 0 ; then exit 1; fi ; \ @@ -197,7 +197,7 @@ version.c: $(OBJS) $(SLAPD_LIBDEPEND) depend-local-srv: FORCE @for i in back-* shell-backends tools; do \ - if [ -d $$i ]; then \ + if [ -d $$i -a -f $$i/Makefile ]; then \ echo; echo " cd $$i; $(MAKE) $(MFLAGS) depend"; \ ( cd $$i; $(MAKE) $(MFLAGS) depend ); \ if test $$? != 0 ; then exit 1; fi ; \ @@ -210,7 +210,7 @@ clean-local: clean-local-srv: FORCE @for i in back-* shell-backends tools; do \ - if [ -d $$i ]; then \ + if [ -d $$i -a -f $$i/Makefile ]; then \ echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \ ( cd $$i; $(MAKE) $(MFLAGS) clean ); \ if test $$? != 0 ; then exit 1; fi ; \ @@ -220,7 +220,7 @@ clean-local-srv: FORCE veryclean-local-srv: FORCE @for i in back-* shell-backends tools; do \ - if [ -d $$i ]; then \ + if [ -d $$i -a -f $$i/Makefile ]; then \ echo; echo " cd $$i; $(MAKE) $(MFLAGS) clean"; \ ( cd $$i; $(MAKE) $(MFLAGS) veryclean ); \ fi; \ @@ -235,7 +235,7 @@ install-slapd: FORCE slapd$(EXEEXT) $(DESTDIR)$(libexecdir) @if [ ! -z "$(SLAPD_MODULES)" ]; then \ for i in back-* shell-backends tools; do \ - if [ -d $$i ]; then \ + if [ -d $$i -a -f $$i/Makefile ]; then \ echo; echo " cd $$i; $(MAKE) $(MFLAGS) install"; \ ( cd $$i; $(MAKE) $(MFLAGS) install ); \ if test $$? != 0 ; then exit 1; fi ; \ -- 2.39.5