d/rules: Adjusting src paths
This commit is contained in:
parent
6f3bacd9b1
commit
692a27af19
6
debian/rules
vendored
6
debian/rules
vendored
|
@ -30,10 +30,10 @@ install: build
|
||||||
dh_installdirs
|
dh_installdirs
|
||||||
|
|
||||||
# Add here commands to install the package into debian/nagios-snmp-plugins.
|
# Add here commands to install the package into debian/nagios-snmp-plugins.
|
||||||
for PLUGINS in *.pl; \
|
for PLUGINS in plugins/*.pl; \
|
||||||
do \
|
do \
|
||||||
install -D -m 0755 $$PLUGINS $(NP_DIR)$(NP_LIBEXEC)/$$PLUGINS || exit 1; \
|
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
|
done
|
||||||
# copying templates them into seperate "template" directories outside of
|
# copying templates them into seperate "template" directories outside of
|
||||||
# /usr/share/doc for ucf to use.
|
# /usr/share/doc for ucf to use.
|
||||||
|
@ -47,7 +47,7 @@ install: build
|
||||||
> debian/postrm
|
> debian/postrm
|
||||||
# copy html documentation over
|
# copy html documentation over
|
||||||
install -d $(NP_DIR)/usr/share/doc/nagios-snmp-plugins/html/
|
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.
|
# Build architecture-independent files here.
|
||||||
binary-indep: build install
|
binary-indep: build install
|
||||||
|
|
Loading…
Reference in a new issue