From f662f45205e22ad088745cdc51bc3a7899e45a2c Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Fri, 26 Dec 2014 14:36:39 -0200 Subject: [PATCH] install pixmaps (icons) and desktop files --- Makefile.am | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/Makefile.am b/Makefile.am index d90254f5..74e097c4 100644 --- a/Makefile.am +++ b/Makefile.am @@ -200,3 +200,16 @@ CLEANFILES = $(LIBLEVELDB) $(LIBMEMENV) $(bin_SCRIPTS) $(bin_PROGRAMS) clean-local: -$(MAKE) -C src/leveldb clean rm -f src/leveldb/*/*.gcno src/leveldb/helpers/memenv/*.gcno + +pixmapsdir = $(datadir)/pixmaps +pixmaps_DATA = share/pixmaps/* + +desktopdir = $(datadir)/applications +desktop_DATA = share/applications/twister.desktop share/applications/twister-control.desktop + +UPDATE_DESKTOP = update-desktop-database $(datadir)/applications || : + +install-data-hook: + $(UPDATE_DESKTOP) +uninstall-hook: + $(UPDATE_DESKTOP)