tbetter install in datadir - tomb - the crypto undertaker
 (HTM) git clone git://parazyd.org/tomb.git
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) README
 (DIR) LICENSE
       ---
 (DIR) commit 7345596f79a76bac7f9dfc39999542af6f9ecc3d
 (DIR) parent a65cb293e76f54232e42192aabc8e0a11d97de88
 (HTM) Author: Jaromil <jaromil@dyne.org>
       Date:   Sun, 15 May 2011 19:24:42 +0200
       
       better install in datadir
       
       tthis should be compatible with packaging
       
       Diffstat:
         M share/Makefile.am                   |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/share/Makefile.am b/share/Makefile.am
       t@@ -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