diff options
author | José Fonseca <jrfonseca@users.sourceforge.net> | 2003-06-27 14:06:30 +0000 |
---|---|---|
committer | José Fonseca <jrfonseca@users.sourceforge.net> | 2003-06-27 14:06:30 +0000 |
commit | 2b266bab3687c078061c7b8bf3676ef3a61d53a7 (patch) | |
tree | 13914933d0c5d6225214160eea43dbc2fe49eca7 /Makefile.am | |
parent | fb16b58b55d7d072a6666566c5526a271dbbb561 (diff) |
Include the sendmail compatibility executables symlinks and the respective man
pages.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 6d6d1ae..fd59cb0 100644 --- a/Makefile.am +++ b/Makefile.am @@ -7,3 +7,15 @@ esmtp_SOURCES = esmtp.h main.c parser.y lexer.l EXTRA_DIST = README.mutt sample.esmtprc AM_YFLAGS = -d + +install-exec-hook: + $(mkinstalldirs) $(DESTDIR)$(sbindir) $(DESTDIR)$(libdir) + $(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: + $(LN_S) esmtp.1 $(DESTDIR)$(man1dir)/sendmail.1 + $(LN_S) esmtp.1 $(DESTDIR)$(man1dir)/mailq.1 + $(LN_S) esmtp.1 $(DESTDIR)$(man1dir)/newaliases.1 |