diff options
author | Eduardo Chappa <chappa@washington.edu> | 2020-01-09 23:03:01 -0700 |
---|---|---|
committer | Eduardo Chappa <chappa@washington.edu> | 2020-01-09 23:03:01 -0700 |
commit | beffee2b2fefca29b820b48e1395231d88b4b70d (patch) | |
tree | e92c2fbd23d7ab6334f5f75c0c03ad70341fe23c /imap | |
parent | ef4518e9aad321a6b6f7af940bbccdbcf42595d0 (diff) | |
download | alpine-beffee2b2fefca29b820b48e1395231d88b4b70d.tar.xz |
* When Alpine is built with the option --with-bundled-tools, the "make
install" command will also install the mailutil program. Feature
contributed by Professor Ryan Elliot.
Diffstat (limited to 'imap')
-rw-r--r-- | imap/Makefile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/imap/Makefile b/imap/Makefile index 52ce3782..46807616 100644 --- a/imap/Makefile +++ b/imap/Makefile @@ -282,6 +282,7 @@ SH=sh SYSTEM=unix TOOLS=tools TOUCH=touch +INSTALL=install # Primary build command @@ -726,6 +727,23 @@ bundled: $(CD) dmail;$(MAKE) || true $(CD) tmail;$(MAKE) || true +install-mailutil: bundled$(BUNDLED) + @echo Installing mailutil... + @echo BUNDLED=$(BUNDLED) + if test x"$(BUNDLED)" = x""; then \ + $(INSTALL) -d $(DESTDIR)$(bindir); \ + $(INSTALL) mailutil/mailutil $(DESTDIR)$(bindir)/mailutil; \ + $(INSTALL) -d $(DESTDIR)$(mandir)/man1; \ + $(INSTALL) src/mailutil/mailutil.1 $(DESTDIR)$(mandir)/man1/mailutil.1; \ + fi + +uninstall-mailutil: + @echo Uninstalling mailutil... + @echo BUNDLED=$(BUNDLED) + if test x"$(BUNDLED)" = x""; then \ + $(RM) $(DESTDIR)$(bindir)/mailutil; \ + $(RM) $(DESTDIR)$(mandir)/man1/mailutil.1; \ + fi sysexitwarn: @echo +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ |