From: Howard Chu Date: Thu, 18 Dec 2003 20:26:05 +0000 (+0000) Subject: Fix install rule X-Git-Tag: OPENLDAP_REL_ENG_2_1_MP~140 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=3b0b66de102639ebaa845899ee53871c138db1b2;p=openldap Fix install rule --- diff --git a/servers/slapd/overlays/Makefile.in b/servers/slapd/overlays/Makefile.in index 7e6c0e9bcf..efce0408a7 100644 --- a/servers/slapd/overlays/Makefile.in +++ b/servers/slapd/overlays/Makefile.in @@ -43,10 +43,10 @@ rwm.la : rwm.lo $(@PLAT@_LINK_LIBS) $(LTLINK_MOD) -module -o $@ rwm.lo rwmconf.lo rwmdn.lo rwmmap.lo version.lo $(LINK_LIBS) install-local: $(PROGRAMS) - @-$(MKDIR) $(DESTDIR)$(moduledir) - @for i in $? ; do \ - $(LTINSTALL) $(INSTALLFLAGS) -m 755 $$i $(DESTDIR)$(moduledir);\ - done + @if test -n "$?" ; then \ + $(MKDIR) $(DESTDIR)$(moduledir); \ + $(LTINSTALL) $(INSTALLFLAGS) -m 755 $? $(DESTDIR)$(moduledir);\ + fi MKDEPFLAG = -l