aboutsummaryrefslogtreecommitdiffstats
path: root/mk/smtpctl/Makefile.am
diff options
context:
space:
mode:
authorGilles Chehade <gilles@poolp.org>2013-09-11 09:55:52 +0200
committerGilles Chehade <gilles@poolp.org>2013-09-11 09:55:52 +0200
commit7ce35fc1c8ef026269ffb19d85c90ef8816205db (patch)
tree3dcd8f52cff5f3beaefb62d59e9fa2da607105ac /mk/smtpctl/Makefile.am
parentMerge branch 'portable' of https://github.com/poolpOrg/OpenSMTPD into portable (diff)
downloadOpenSMTPD-7ce35fc1c8ef026269ffb19d85c90ef8816205db.tar.xz
OpenSMTPD-7ce35fc1c8ef026269ffb19d85c90ef8816205db.zip
remove some links on uninstall
Diffstat (limited to 'mk/smtpctl/Makefile.am')
-rw-r--r--mk/smtpctl/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/mk/smtpctl/Makefile.am b/mk/smtpctl/Makefile.am
index 6ab95cdf..25867d8d 100644
--- a/mk/smtpctl/Makefile.am
+++ b/mk/smtpctl/Makefile.am
@@ -83,3 +83,7 @@ uninstall-hook:
rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/smtpctl.8 \
rm -f $(DESTDIR)$(mandir)/$(mansubdir)8/sendmail.8 \
rmdir $(DESTDIR)$(mandir)/$(mansubdir)8 2> /dev/null || /bin/true
+ if test "$(USE_MAILWRAPPER)" = "0"; then \
+ rm -f $(DESTDIR)$(sbindir)/mailq;\
+ rm -f $(DESTDIR)$(bindir)/sendmail;\
+ fi