Code

rules, pnp4nagios-bin.install: Do not install npcd.8 using dh_installman.
[pkg-pnp4nagios.git] / debian / rules
index 3eb49de02acd84e5767a29f369a33f0c3c29f4d0..f2ecca32b42bb6148aa5bd191223621f03e3a15f 100755 (executable)
@@ -32,9 +32,8 @@ config.status: configure
 
        ./configure $(CROSS) \
                                --with-layout=debian \
-                               --prefix=/usr \
-                               --mandir=\$${prefix}/share/man \
-                               --infodir=\$${prefix}/share/info \
+                               --mandir=/usr/share/man \
+                               --infodir=/usr/share/info \
                                --without-kohana \
                                --with-kohana_system=/usr/share/php/kohana2/system \
                                --with-httpd-conf=/etc/apache2/conf.d \
@@ -97,11 +96,6 @@ install: build
        mkdir -p debian/tmp/usr/sbin/
        mv debian/tmp/usr/bin/npcd \
                debian/tmp/usr/sbin/
-       mv debian/tmp/etc/pnp4nagios/npcd.cfg-sample \
-               debian/tmp/etc/pnp4nagios/npcd.cfg
-
-       mv debian/tmp/etc/pnp4nagios/process_perfdata.cfg-sample \
-               debian/tmp/etc/pnp4nagios/process_perfdata.cfg
 
        mv debian/tmp/etc/pnp4nagios/rra.cfg-sample \
                debian/tmp/etc/pnp4nagios/rra.cfg
@@ -182,8 +176,7 @@ binary-arch: build install
        dh_installexamples -a
        dh_installdebconf -a
        dh_installinit -ppnp4nagios-bin --name=npcd
-       dh_installinit -a -Npnp4nagios-bin
-       dh_installman -a man/npcd.8
+       dh_installman -a
        dh_link -a
        dh_strip -a
        dh_compress -a