mirror of
https://github.com/Llewellynvdm/Tomb.git
synced 2024-11-26 06:46:30 +00:00
better install in datadir
this should be compatible with packaging
This commit is contained in:
parent
a65cb293e7
commit
7345596f79
@ -30,8 +30,10 @@ MimePkg = tomb.mimepkg
|
|||||||
|
|
||||||
install-data-hook:
|
install-data-hook:
|
||||||
@echo "installing mime type"
|
@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
|
@if ! [ -n `which xdg-mime` ]; then xdg-mime install dyne-tomb.xml; fi
|
||||||
@echo "installing icons";
|
@echo "installing icons";
|
||||||
|
@install -D monmort.png $(DESTDIR)$(datadir)/pixmaps
|
||||||
@if ! [ -n `which xdg-icon-resource` ]; then \
|
@if ! [ -n `which xdg-icon-resource` ]; then \
|
||||||
xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort; \
|
xdg-icon-resource install --context mimetypes --size 32 ../src/monmort.xpm monmort; \
|
||||||
xdg-icon-resource install --size 32 ../src/monmort.xpm dyne-monmort; fi
|
xdg-icon-resource install --size 32 ../src/monmort.xpm dyne-monmort; fi
|
||||||
|
Loading…
Reference in New Issue
Block a user