[Pkg-nagios-changes] [pkg-nagios-snmp-plugins] 06/10: d/rules: Adjusting src paths

Jan Wagner waja at moszumanska.debian.org
Mon Dec 5 01:35:16 UTC 2016


This is an automated email from the git hooks/post-receive script.

waja pushed a commit to branch master
in repository pkg-nagios-snmp-plugins.

commit 692a27af19de6229b89dc5e58c6a7b82e162c04a
Author: Jan Wagner <waja at cyconet.org>
Date:   Sun Dec 4 12:07:17 2016 +0100

    d/rules: Adjusting src paths
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 0cb097b..0a9859d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,10 +30,10 @@ install: build
 	dh_installdirs
 
 	# Add here commands to install the package into debian/nagios-snmp-plugins.
-	for PLUGINS in *.pl; \
+	for PLUGINS in plugins/*.pl; \
 	do \
 		install -D -m 0755 $$PLUGINS $(NP_DIR)$(NP_LIBEXEC)/$$PLUGINS || exit 1; \
-		sed -i "s#/usr/local/nagios/libexec#$(NP_LIBEXEC)#" $(NP_DIR)$(NP_LIBEXEC)/$$PLUGINS || exit 1; \
+		sed -i "s#/usr/local/icinga/libexec#$(NP_LIBEXEC)#" $(NP_DIR)$(NP_LIBEXEC)/$$PLUGINS || exit 1; \
 	done
 	# copying templates them into seperate "template" directories outside of
 	# /usr/share/doc for ucf to use.
@@ -47,7 +47,7 @@ install: build
 		> debian/postrm
 	# copy html documentation over
 	install -d $(NP_DIR)/usr/share/doc/nagios-snmp-plugins/html/
-	cp doc/* $(NP_DIR)/usr/share/doc/nagios-snmp-plugins/html/
+	cp plugins/doc/* $(NP_DIR)/usr/share/doc/nagios-snmp-plugins/html/
 
 # Build architecture-independent files here.
 binary-indep: build install

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-nagios/pkg-nagios-snmp-plugins.git



More information about the Pkg-nagios-changes mailing list