From: Sebastian Harl Date: Tue, 26 Apr 2011 11:46:41 +0000 (+0200) Subject: rules: Do not pass --prefix to configure and set man-/infodir correctly. X-Git-Tag: v_0_6_12-1~7 X-Git-Url: https://git.tokkee.org/?p=pkg-pnp4nagios.git;a=commitdiff_plain;h=49f286f6205a82e72bc79f6962c7048c0da81744 rules: Do not pass --prefix to configure and set man-/infodir correctly. The prefix is set by layout=debian and cannot be overwritten, thus do not pretend this is possible. Also, do not use $prefix when setting man-/infodir but specify the complete path. --- diff --git a/debian/rules b/debian/rules index 3b4aeee..46da9ce 100755 --- a/debian/rules +++ b/debian/rules @@ -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 \