diff options
author | Jeffrey C. Ollie <jeff@ocjtech.us> | 2009-11-22 15:17:11 -0600 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2010-01-24 07:29:54 +1300 |
commit | 1bf121924d41e57ef6fdfc14c6ebe8ce9aa3f5e1 (patch) | |
tree | 416eb10b6e650ce75899361b0110a51fb3eb9232 /Makefile.local | |
parent | c25bc03dc60846090d230cdad21e39faccce35ff (diff) |
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>
Diffstat (limited to 'Makefile.local')
-rw-r--r-- | Makefile.local | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile.local b/Makefile.local index d579242c..04bac838 100644 --- a/Makefile.local +++ b/Makefile.local @@ -43,6 +43,10 @@ install-emacs: install emacs install -m0644 notmuch.el $(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 -d $(DESTDIR)$(bash_completion_dir) install -m0644 contrib/notmuch-completion.bash \ |