void-packages/srcpkgs/aerc/patches/makefile-only-install.patch

20 lines
894 B
Diff

Build style handles building and installing aerc binary.
Makefile should only install remaining files.
diff --git a/Makefile b/Makefile
index 3a3c900..5d230e0 100644
--- a/Makefile
+++ b/Makefile
@@ -110,11 +110,10 @@ RM?=rm -f
clean:
$(RM) $(DOCS) aerc wrap colorize
-install: $(DOCS) aerc wrap colorize
+install: $(DOCS) wrap colorize
mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man5 $(DESTDIR)$(MANDIR)/man7 \
$(DESTDIR)$(SHAREDIR) $(DESTDIR)$(SHAREDIR)/filters $(DESTDIR)$(SHAREDIR)/templates $(DESTDIR)$(SHAREDIR)/stylesets \
$(DESTDIR)$(PREFIX)/share/applications $(DESTDIR)$(LIBEXECDIR)/filters
- install -m755 aerc $(DESTDIR)$(BINDIR)/aerc
install -m644 aerc.1 $(DESTDIR)$(MANDIR)/man1/aerc.1
install -m644 aerc-search.1 $(DESTDIR)$(MANDIR)/man1/aerc-search.1
install -m644 aerc-accounts.5 $(DESTDIR)$(MANDIR)/man5/aerc-accounts.5