Description: Add install target to install the slapd-watcher utility
Forwarded: not-needed
Author: Quanah Gibson-Mount <quanah@symas.com>
Last-Update: 2024-02-05

---
 tests/progs/Makefile.in | 4 ++++
 1 file changed, 4 insertions(+)

Index: openldap/tests/progs/Makefile.in
===================================================================
--- openldap.orig/tests/progs/Makefile.in
+++ openldap/tests/progs/Makefile.in
@@ -64,3 +64,7 @@ slapd-mtread: slapd-mtread.o $(OBJS) $(X
 
 slapd-watcher: slapd-watcher.o $(OBJS) $(XLIBS)
 	$(LTLINK) -o $@ slapd-watcher.o $(OBJS) $(LIBS)
+
+install-local:	FORCE
+	-$(MKDIR) $(DESTDIR)$(bindir)
+	$(LTINSTALL) $(INSTALLFLAGS) $(STRIP_OPTS) -m 755 slapd-watcher$(EXEEXT) $(DESTDIR)$(bindir)
