commit 7345596f79a76bac7f9dfc39999542af6f9ecc3d
parent a65cb293e76f54232e42192aabc8e0a11d97de88
Author: Jaromil <jaromil@dyne.org>
Date: Sun, 15 May 2011 19:24:42 +0200
better install in datadir
this should be compatible with packaging
Diffstat:
1 file changed, 2 insertions(+), 0 deletions(-)
diff --git a/share/Makefile.am b/share/Makefile.am
@@ -30,8 +30,10 @@ MimePkg = tomb.mimepkg
install-data-hook:
@echo "installing mime type"
+ @install -D dyne-tomb.xml $(DESTDIR)$(datadir)/mime/packages
@if ! [ -n `which xdg-mime` ]; then xdg-mime install dyne-tomb.xml; fi
@echo "installing icons";
+ @install -D monmort.png $(DESTDIR)$(datadir)/pixmaps
@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