mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 10:58:10 +01:00
Add install target for notmuch.desktop file.
Add an install target that uses desktop-file-install to install the desktop file in the appropriate location. The location of the install can be modified by changing the desktop_dir variable. Signed-off-by: Jeffrey C. Ollie <jeff@ocjtech.us>
This commit is contained in:
parent
c25bc03dc6
commit
1bf121924d
2 changed files with 7 additions and 0 deletions
|
@ -43,6 +43,10 @@ install-emacs: install emacs
|
||||||
install -m0644 notmuch.el $(DESTDIR)$(emacs_lispdir)
|
install -m0644 notmuch.el $(DESTDIR)$(emacs_lispdir)
|
||||||
install -m0644 notmuch.elc $(DESTDIR)$(emacs_lispdir)
|
install -m0644 notmuch.elc $(DESTDIR)$(emacs_lispdir)
|
||||||
|
|
||||||
|
install-desktop:
|
||||||
|
install -d $(DESTDIR)$(desktop_dir)
|
||||||
|
desktop-file-install --mode 0644 --dir $(DESTDIR)$(desktop_dir) notmuch.desktop
|
||||||
|
|
||||||
install-bash:
|
install-bash:
|
||||||
install -d $(DESTDIR)$(bash_completion_dir)
|
install -d $(DESTDIR)$(bash_completion_dir)
|
||||||
install -m0644 contrib/notmuch-completion.bash \
|
install -m0644 contrib/notmuch-completion.bash \
|
||||||
|
|
3
configure
vendored
3
configure
vendored
|
@ -274,6 +274,9 @@ prefix = ${PREFIX}
|
||||||
# The directory to which emacs lisp files should be installed
|
# The directory to which emacs lisp files should be installed
|
||||||
emacs_lispdir=${emacs_lispdir}
|
emacs_lispdir=${emacs_lispdir}
|
||||||
|
|
||||||
|
# The directory to which desktop files should be installed
|
||||||
|
desktop_dir = \${prefix}/share/applications
|
||||||
|
|
||||||
# Whether the getline function is available (if not, then notmuch will
|
# Whether the getline function is available (if not, then notmuch will
|
||||||
# build its own version)
|
# build its own version)
|
||||||
HAVE_GETLINE = ${have_getline}
|
HAVE_GETLINE = ${have_getline}
|
||||||
|
|
Loading…
Reference in a new issue