From bc96c5e95ef727c34ef2ad5c2e7e075a46156529 Mon Sep 17 00:00:00 2001 From: Jaromil Date: Sun, 15 May 2011 19:32:19 +0200 Subject: [PATCH] better datadir install again --- share/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/share/Makefile.am b/share/Makefile.am index 064fd9e..db2c747 100644 --- a/share/Makefile.am +++ b/share/Makefile.am @@ -30,10 +30,10 @@ MimePkg = tomb.mimepkg install-data-hook: @echo "installing mime type" - @install -t $(DESTDIR)$(datadir)/mime/packages dyne-tomb.xml + @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 -t $(DESTDIR)$(datadir)/pixmaps monmort.xpm + @install -D monmort.xpm $(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