diff options
author | Gilles Chehade <gilles@poolp.org> | 2013-09-11 09:55:52 +0200 |
---|---|---|
committer | Gilles Chehade <gilles@poolp.org> | 2013-09-11 09:55:52 +0200 |
commit | 7ce35fc1c8ef026269ffb19d85c90ef8816205db (patch) | |
tree | 3dcd8f52cff5f3beaefb62d59e9fa2da607105ac /mk/smtpctl/Makefile.am | |
parent | Merge branch 'portable' of https://github.com/poolpOrg/OpenSMTPD into portable (diff) | |
download | OpenSMTPD-7ce35fc1c8ef026269ffb19d85c90ef8816205db.tar.xz OpenSMTPD-7ce35fc1c8ef026269ffb19d85c90ef8816205db.zip |
remove some links on uninstall
Diffstat (limited to 'mk/smtpctl/Makefile.am')
-rw-r--r-- | mk/smtpctl/Makefile.am | 4 |
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 |