diff options
author | Robin Jarry <robin@jarry.cc> | 2022-02-19 22:28:46 +0100 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2022-02-19 22:29:40 +0100 |
commit | 20cfef95ff715a56b4b708fc57c605a2a8b06c14 (patch) | |
tree | fcb8be5f5dd4bccfa0d6649c60fe822dd9dcab91 | |
parent | e3842033904af9f4fc0e829b6f23de0579453052 (diff) | |
download | aerc-20cfef95ff715a56b4b708fc57c605a2a8b06c14.tar.gz |
contrib: fix aerc.desktop install path
Add missing $(PREFIX).
Note to self: always test install before accepting patches.
Fixes: 5abc3cab96b7 ("contrib: add xdg desktop entry")
Signed-off-by: Robin Jarry <robin@jarry.cc>
-rw-r--r-- | Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -73,7 +73,7 @@ clean: install: $(DOCS) aerc 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)/share/applications + $(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 @@ -96,7 +96,7 @@ install: $(DOCS) aerc install -m644 templates/quoted_reply $(DESTDIR)$(SHAREDIR)/templates/quoted_reply install -m644 templates/forward_as_body $(DESTDIR)$(SHAREDIR)/templates/forward_as_body install -m644 config/default_styleset $(DESTDIR)$(SHAREDIR)/stylesets/default - install -m644 contrib/aerc.desktop $(DESTDIR)/share/applications/aerc.desktop + install -m644 contrib/aerc.desktop $(DESTDIR)$(PREFIX)/share/applications/aerc.desktop .PHONY: checkinstall checkinstall: @@ -131,7 +131,7 @@ uninstall: $(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)/man5 $(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)/man7 $(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR) - $(RM) $(DESTDIR)/share/applications/aerc.desktop - $(RMDIR_IF_EMPTY) $(DESTDIR)/share/applications + $(RM) $(DESTDIR)$(PREFIX)/share/applications/aerc.desktop + $(RMDIR_IF_EMPTY) $(DESTDIR)$(PREFIX)/share/applications .PHONY: all doc clean install uninstall debug |