summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorboyska <[email protected]>2011-05-14 11:54:24 (GMT)
committer boyska <[email protected]>2011-05-14 11:54:24 (GMT)
commit4beebdf06d2c66ae6d32d836e86d1fbb6379c4d6 (patch)
tree2dab6a311449e1fbcfeeb014f038411499e8c329
parenta20364bad1dabcba98d18ba07e901b388de13548 (diff)
INSTALL dyne-tomb.xml copying, not xdg-mime installboyska_fixes
xdg-mime does not behave correctly for ArchLinux packaging, and probably with others, too
-rw-r--r--share/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/Makefile.am b/share/Makefile.am
index 139e0c6..63ac7c0 100644
--- a/share/Makefile.am
+++ b/share/Makefile.am
@@ -30,7 +30,7 @@ MimePkg = tomb.mimepkg
install-data-hook:
@echo "installing mime type"
- @if ! [ -n `which xdg-mime` ]; then xdg-mime install dyne-tomb.xml; fi
+ @install -D dyne-tomb.xml $(DESTDIR)/${prefix}/share/mime/applications/dyne-tomb.xml
@echo "installing icons";
@if ! [ -n `which xdg-icon-resource` ]; then \
xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort; \