X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/ae13d68e32564cd0f0dbf46c820bf001fccb31d1..6cab9448c8e116006285e71490d71cd158b04ca1:/debian/rules diff --git a/debian/rules b/debian/rules index 20c38ca..424f506 100755 --- a/debian/rules +++ b/debian/rules @@ -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 @@ -100,11 +104,10 @@ pkg-disorder: build $(MKDIR) debian/disorder/etc/disorder dpkg-shlibdeps -Tdebian/substvars.disorder \ debian/disorder/usr/bin/* - $(INSTALL_DATA) CHANGES README debian/README.Debian \ + $(INSTALL_DATA) CHANGES.html README debian/README.Debian \ BUGS README.* \ debian/disorder/usr/share/doc/disorder/. - gzip -9f debian/disorder/usr/share/doc/disorder/CHANGES \ - debian/disorder/usr/share/doc/disorder/README \ + gzip -9f debian/disorder/usr/share/doc/disorder/README \ debian/disorder/usr/share/doc/disorder/README.* \ debian/disorder/usr/share/doc/disorder/BUGS \ debian/disorder/usr/share/man/man*/* @@ -152,7 +155,7 @@ pkg-disorder-server: build debian/disorder-server/etc/disorder/options $(INSTALL_DATA) debian/etc.disorder.options.user \ debian/disorder-server/etc/disorder/options.user - $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) server/disorder.cgi \ + $(LIBTOOL) --mode=install $(INSTALL_PROGRAM) cgi/disorder.cgi \ $(shell pwd)/debian/disorder-server/usr/lib/cgi-bin/disorder dpkg-shlibdeps -Tdebian/substvars.disorder-server \ debian/disorder-server/usr/lib/cgi-bin/disorder \ @@ -191,9 +194,8 @@ pkg-disorder-playrtp: build debian/disorder-playrtp/usr/bin/* $(INSTALL_DATA) debian/README.RTP \ debian/disorder-playrtp/usr/share/doc/disorder-playrtp/README - $(INSTALL_DATA) CHANGES debian/disorder-playrtp/usr/share/doc/disorder-playrtp/CHANGES - gzip -9f debian/disorder-playrtp/usr/share/doc/disorder-playrtp/CHANGES \ - debian/disorder-playrtp/usr/share/man/man*/* + $(INSTALL_DATA) CHANGES.html debian/disorder-playrtp/usr/share/doc/disorder-playrtp/CHANGES.html + gzip -9f debian/disorder-playrtp/usr/share/man/man*/* dpkg-gencontrol -isp -pdisorder-playrtp -Pdebian/disorder-playrtp -Tdebian/substvars.disorder-playrtp chown -R root:root debian/disorder-playrtp chmod -R g-ws debian/disorder-playrtp