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

19 lines
742 B
Diff

Build style handles building and installing aerc binary.
Makefile should only install remaining files.
--- ./Makefile
+++ ./Makefile
@@ -82,11 +82,10 @@
clean:
$(RM) $(DOCS) aerc
-install: $(DOCS) aerc
+install: $(DOCS)
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
- 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-config.5 $(DESTDIR)$(MANDIR)/man5/aerc-config.5