mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-12-27 03:42:40 +00:00
better install in datadir
this should be compatible with packaging
This commit is contained in:
parent
a65cb293e7
commit
9497bbce42
@ -30,8 +30,10 @@ MimePkg = tomb.mimepkg
|
||||
|
||||
install-data-hook:
|
||||
@echo "installing mime type"
|
||||
@install -t $(DESTDIR)$(datadir)/mime/packages dyne-tomb.xml
|
||||
@if ! [ -n `which xdg-mime` ]; then xdg-mime install dyne-tomb.xml; fi
|
||||
@echo "installing icons";
|
||||
@install -t $(DESTDIR)$(datadir)/pixmaps monmort.xpm
|
||||
@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
|
||||
|
Loading…
Reference in New Issue
Block a user