]> git.sur5r.net Git - openldap/commitdiff
Only process back-* subdirectories that have a Makefile.
authorRandy Kunkee <kunkee@openldap.org>
Wed, 5 Jul 2000 17:05:42 +0000 (17:05 +0000)
committerRandy Kunkee <kunkee@openldap.org>
Wed, 5 Jul 2000 17:05:42 +0000 (17:05 +0000)
servers/slapd/Makefile.in

index c27ebbd31524d5c3b713a8ffe0ae68e5fc27d66f..d7787e7127ea95ba1d869c93a369252f4f4e8257 100644 (file)
@@ -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 ; \