2011-02-20 18:37:55 +00:00
|
|
|
Applicationsdir = $(datadir)/applications
|
2011-01-13 21:36:15 +00:00
|
|
|
Applications_DATA = tomb.desktop
|
2011-01-19 18:28:29 +00:00
|
|
|
|
|
|
|
AppRegdir = $(datadir)/application-registry
|
|
|
|
AppReg_DATA = tomb.applications
|
|
|
|
|
|
|
|
MimeInfodir = $(datadir)/mime-info
|
|
|
|
MimeInfo_DATA = tomb.keys tomb.mime
|
2011-01-19 18:47:52 +00:00
|
|
|
|
2011-01-29 13:45:03 +00:00
|
|
|
Menudir = $(datadir)/menu
|
|
|
|
Menu_DATA = tomb
|
2011-01-29 13:25:03 +00:00
|
|
|
|
2011-02-20 18:37:55 +00:00
|
|
|
Iconsdir = $(datadir)/icons
|
2011-01-19 18:47:52 +00:00
|
|
|
Icons_DATA = monmort.png
|
2011-02-20 18:37:55 +00:00
|
|
|
|
|
|
|
AppInstIcondir = $(datadir)/app-install/icons
|
|
|
|
AppInstIcon_DATA = monmort.png
|
|
|
|
|
|
|
|
AppInstDeskdir = $(datadir)/app-install/desktop
|
|
|
|
AppInstDesk_DATA = tomb.desktop
|
2011-01-19 18:47:52 +00:00
|
|
|
|
2011-02-25 00:15:39 +00:00
|
|
|
gtkrc:
|
|
|
|
sed -e 's@\%prefix\%@'"$(datadir)"'@' gtkrc.in > gtkrc
|
|
|
|
|
|
|
|
GtkRcdir = $(datadir)/themes/tomb/gtk-2.0-key
|
|
|
|
GtkRc_DATA = gtkrc
|
|
|
|
|
|
|
|
MimePkgdir = $(prefix)/lib/mime/packages/tomb
|
|
|
|
MimePkg = tomb.mimepkg
|
|
|
|
|
2011-01-29 13:25:03 +00:00
|
|
|
install-data-hook:
|
2011-02-24 22:06:28 +00:00
|
|
|
@echo "installing mime type"
|
2011-05-15 17:24:42 +00:00
|
|
|
@install -t $(DESTDIR)$(datadir)/mime/packages dyne-tomb.xml
|
2011-05-13 16:01:53 +00:00
|
|
|
@if ! [ -n `which xdg-mime` ]; then xdg-mime install dyne-tomb.xml; fi
|
2011-02-20 18:37:55 +00:00
|
|
|
@echo "installing icons";
|
2011-05-15 17:24:42 +00:00
|
|
|
@install -t $(DESTDIR)$(datadir)/pixmaps monmort.xpm
|
2011-02-24 23:10:09 +00:00
|
|
|
@if ! [ -n `which xdg-icon-resource` ]; then \
|
|
|
|
xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort; \
|
|
|
|
xdg-icon-resource install --size 32 ../src/monmort.xpm dyne-monmort; fi
|
2011-02-20 19:16:20 +00:00
|
|
|
@if ! [ -n `which update-desktop-database` ]; then echo update-desktop-database; update-desktop-database; fi
|
2011-02-20 18:37:55 +00:00
|
|
|
@if ! [ -n `which update-menus` ]; then echo update-menus; update-menus; fi
|
2011-02-24 22:06:28 +00:00
|
|
|
@if ! [ -n `which update-mime` ]; then echo update-mime; update-mime; fi
|