summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am7
1 files changed, 7 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index 746d9ef..f038032 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -26,12 +26,19 @@ AM_YFLAGS = -d
install-exec-hook:
$(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(libdir)
+ rm -f $(DESTDIR)$(sbindir)/sendmail
+ rm -f $(DESTDIR)$(libdir)/sendmail
+ rm -f $(DESTDIR)$(bindir)/mailq
+ rm -f $(DESTDIR)$(bindir)/newaliases
$(LN_S) $(bindir)/esmtp $(DESTDIR)$(sbindir)/sendmail
$(LN_S) $(bindir)/esmtp $(DESTDIR)$(libdir)/sendmail
$(LN_S) $(bindir)/esmtp $(DESTDIR)$(bindir)/mailq
$(LN_S) $(bindir)/esmtp $(DESTDIR)$(bindir)/newaliases
install-data-hook:
+ rm -f $(DESTDIR)$(man1dir)/sendmail.1
+ rm -f $(DESTDIR)$(man1dir)/mailq.1
+ rm -f $(DESTDIR)$(man1dir)/newaliases.1
$(LN_S) esmtp.1 $(DESTDIR)$(man1dir)/sendmail.1
$(LN_S) esmtp.1 $(DESTDIR)$(man1dir)/mailq.1
$(LN_S) esmtp.1 $(DESTDIR)$(man1dir)/newaliases.1