update desktop and mime database during installation

This commit is contained in:
Christian Hohnstaedt 2011-02-23 19:58:23 +01:00
parent 3f00e9d2a0
commit abb21470e8

View File

@ -8,6 +8,10 @@ install:
install -m 644 *.txt *.xca $(destdir)$(prefix)/share/xca
install -m 644 xca.desktop $(destdir)$(prefix)/share/applications
install -m 644 xca.xml $(destdir)$(prefix)/share/mime/packages
if test -z "$(destdir)"; then \
update-mime-database $(prefix)/share/mime || :; \
update-desktop-database || :; \
fi
app:
mkdir -p $(APPDIR)/Resources