contrib: fix aerc.desktop install path
Add missing $(PREFIX).
Note to self: always test install before accepting patches.
Fixes: 5abc3cab96
("contrib: add xdg desktop entry")
Signed-off-by: Robin Jarry <robin@jarry.cc>
This commit is contained in:
parent
e384203390
commit
20cfef95ff
8
Makefile
8
Makefile
|
@ -73,7 +73,7 @@ clean:
|
||||||
install: $(DOCS) aerc
|
install: $(DOCS) aerc
|
||||||
mkdir -m755 -p $(DESTDIR)$(BINDIR) $(DESTDIR)$(MANDIR)/man1 $(DESTDIR)$(MANDIR)/man5 $(DESTDIR)$(MANDIR)/man7 \
|
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)$(SHAREDIR) $(DESTDIR)$(SHAREDIR)/filters $(DESTDIR)$(SHAREDIR)/templates $(DESTDIR)$(SHAREDIR)/stylesets \
|
||||||
$(DESTDIR)/share/applications
|
$(DESTDIR)$(PREFIX)/share/applications
|
||||||
install -m755 aerc $(DESTDIR)$(BINDIR)/aerc
|
install -m755 aerc $(DESTDIR)$(BINDIR)/aerc
|
||||||
install -m644 aerc.1 $(DESTDIR)$(MANDIR)/man1/aerc.1
|
install -m644 aerc.1 $(DESTDIR)$(MANDIR)/man1/aerc.1
|
||||||
install -m644 aerc-search.1 $(DESTDIR)$(MANDIR)/man1/aerc-search.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/quoted_reply $(DESTDIR)$(SHAREDIR)/templates/quoted_reply
|
||||||
install -m644 templates/forward_as_body $(DESTDIR)$(SHAREDIR)/templates/forward_as_body
|
install -m644 templates/forward_as_body $(DESTDIR)$(SHAREDIR)/templates/forward_as_body
|
||||||
install -m644 config/default_styleset $(DESTDIR)$(SHAREDIR)/stylesets/default
|
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
|
.PHONY: checkinstall
|
||||||
checkinstall:
|
checkinstall:
|
||||||
|
@ -131,7 +131,7 @@ uninstall:
|
||||||
$(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)/man5
|
$(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)/man5
|
||||||
$(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)/man7
|
$(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)/man7
|
||||||
$(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)
|
$(RMDIR_IF_EMPTY) $(DESTDIR)$(MANDIR)
|
||||||
$(RM) $(DESTDIR)/share/applications/aerc.desktop
|
$(RM) $(DESTDIR)$(PREFIX)/share/applications/aerc.desktop
|
||||||
$(RMDIR_IF_EMPTY) $(DESTDIR)/share/applications
|
$(RMDIR_IF_EMPTY) $(DESTDIR)$(PREFIX)/share/applications
|
||||||
|
|
||||||
.PHONY: all doc clean install uninstall debug
|
.PHONY: all doc clean install uninstall debug
|
||||||
|
|
Loading…
Reference in New Issue