]> git.ipfire.org Git - people/ms/dma.git/commitdiff
Makefile: add symlink for mailq
authorSimon Schubert <2@0x2c.org>
Tue, 15 Nov 2011 22:59:39 +0000 (23:59 +0100)
committerSimon Schubert <2@0x2c.org>
Tue, 15 Nov 2011 22:59:39 +0000 (23:59 +0100)
Makefile
debian/rules

index 0f99183cce8f9ec291a229e1603dbdbe6e75c6cc..a480e9340bfa3280ed49c8df8c2b11eef2378eef 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -55,6 +55,9 @@ install: all
 sendmail-link:
        cd ${DESTDIR}${SBIN} && ${LN} ${SYMLINK} dma sendmail
 
+mailq-link:
+       cd ${DESTDIR}${SBIN} && ${LN} ${SYMLINK} dma mailq
+
 install-spool-dirs:
        ${INSTALL} -d -m 2775 -o root -g mail ${DESTDIR}${DMASPOOL}
        ${INSTALL} -d -m 2775 -o root -g mail ${DESTDIR}${VARMAIL}
index 9efbcc548fcafd9c93ee5a66c1496b43c4f69635..6b1416e07de7e5fd74977d48fa487f0abbb41b31 100755 (executable)
@@ -36,7 +36,7 @@ override_dh_auto_clean:
        $(MAKE) -C $(DDIR)/migrate clean
 
 override_dh_auto_install:
-       $(MAKE) -f Makefile ${BUILDDEFS} install sendmail-link install-spool-dirs
+       $(MAKE) -f Makefile ${BUILDDEFS} install sendmail-link mailq-link install-spool-dirs
        install -o root -g mail -m 644 dma.conf $D/etc/dma
        install -o root -g mail -m 640 auth.conf $D/etc/dma