From: Randy Kunkee Date: Wed, 5 Jul 2000 17:05:42 +0000 (+0000) Subject: Only process back-* subdirectories that have a Makefile. X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~2477 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=df2af6bf472b68307d8ae217f631e6d6d89c844d;p=openldap Only process back-* subdirectories that have a Makefile. --- 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 ; \