File 0008-Makefile.in-install-alert-script-to-libexecdir.patch of Package safte-monitor

From 2c9a62ba6f2380617f9074d9da2cf1cf90cfcb3a Mon Sep 17 00:00:00 2001
From: Martin Wilck <mwilck@suse.com>
Date: Thu, 3 Nov 2022 18:15:45 +0100
Subject: [PATCH 8/8] Makefile.in: install alert script to libexecdir

---
 Makefile.in | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Makefile.in b/Makefile.in
index 2dfea67..5c9ca89 100644
--- a/Makefile.in
+++ b/Makefile.in
@@ -38,6 +38,7 @@ DESTDIR =
 # need to get @PACKAGE@ working
 pkgdatadir = $(datadir)/safte-monitor
 pkglibdir = $(libdir)/safte-monitor
+pkglibexecdir = $(libexecdir)/safte-monitor
 
 top_builddir = .
 
@@ -95,12 +96,12 @@ install: all
 	$(srcdir)/mkinstalldirs $(DESTDIR)$(sbindir) \
 		$(DESTDIR)$(sysconfdir) \
 		$(DESTDIR)$(pkgdatadir)/www \
-		$(DESTDIR)$(pkglibdir) \
+		$(DESTDIR)$(pkglibexecdir) \
 		$(DESTDIR)$(mandir)/man8 \
 		$(DESTDIR)$(localstatedir)/log/safte-monitor \
 		$(DESTDIR)$(localstatedir)/run/safte-monitor
 	$(INSTALL_PROGRAM) $(BIN_FILES) $(DESTDIR)$(sbindir)
-	$(INSTALL_PROGRAM) $(ALERT_FILES) $(DESTDIR)$(pkglibdir)
+	$(INSTALL_PROGRAM) $(ALERT_FILES) $(DESTDIR)$(pkglibexecdir)
 	$(INSTALL_DATA) $(CONF_FILES) $(DESTDIR)$(sysconfdir)
 	$(INSTALL_DATA) $(WWW_FILES) $(DESTDIR)$(pkgdatadir)/www
 	$(INSTALL_DATA) $(MAN8_FILES) $(DESTDIR)$(mandir)/man8
-- 
2.38.0

openSUSE Build Service is sponsored by