Code

rules: Do not pass --prefix to configure and set man-/infodir correctly.
authorSebastian Harl <sh@tokkee.org>
Tue, 26 Apr 2011 11:46:41 +0000 (13:46 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 26 Apr 2011 11:46:41 +0000 (13:46 +0200)
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.

debian/rules

index 3b4aeee22d411733e980dce6c5d05370d23f51ae..46da9ce88d2ae65b0cca8c26fcb2d3ed75669a1f 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 \