Code

rules, pnp4nagios-bin.install: Do not install npcd.8 using dh_installman.
[pkg-pnp4nagios.git] / debian / rules
index 3b4aeee22d411733e980dce6c5d05370d23f51ae..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 \
@@ -177,7 +176,7 @@ binary-arch: build install
        dh_installexamples -a
        dh_installdebconf -a
        dh_installinit -ppnp4nagios-bin --name=npcd
-       dh_installman -a man/npcd.8
+       dh_installman -a
        dh_link -a
        dh_strip -a
        dh_compress -a