From 3b0b66de102639ebaa845899ee53871c138db1b2 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Thu, 18 Dec 2003 20:26:05 +0000 Subject: [PATCH] Fix install rule --- servers/slapd/overlays/Makefile.in | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 -- 2.39.5