chiark / gitweb /
Fixed sendmail path for Debian
authorRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Jun 2008 14:20:30 +0000 (15:20 +0100)
committerRichard Kettlewell <rjk@greenend.org.uk>
Sun, 1 Jun 2008 14:20:30 +0000 (15:20 +0100)
debian/rules

index 4fa3d4c..e030330 100755 (executable)
@@ -45,6 +45,10 @@ export INSTALL_DATA
 export INSTALL_SCRIPT
 export INSTALL_PROGRAM
 
+# We override sendmail to the value defined in policy, in case configure picks
+# up some other sendmail.
+SENDMAIL=/usr/sbin/sendmail
+
 LIBTOOL=./libtool
 FAKEROOT=fakeroot
 
@@ -62,7 +66,7 @@ build:
          echo ./config.status;\
          ./config.status;\
        fi
-       $(MAKE)
+       $(MAKE) SENDMAIL=${SENDMAIL}
 
 pkg-disorder: build
        rm -rf debian/disorder