[CONFIGURATION]

* BUG: Uninstall should honor XDG_UTILS variable during 'make uninstall'.

This fix building in ArchLinux.



git-svn-id: svn://localhost/gambas/trunk@5556 867c0c6c-44f3-4631-809d-bfa615b0a4ec
This commit is contained in:
Laurent Carlier 2013-02-21 15:37:19 +00:00
parent 7c244c0434
commit eae892152f

View file

@ -27,5 +27,8 @@ install-exec-local:
uninstall-local:
@rm -f $(DESTDIR)$(bindir)/gbr$(GAMBAS_VERSION)
@rm -rf $(DESTDIR)$(gblibdir)/info
@xdg-mime uninstall $(srcdir)/mime/application-x-gambas3.xml;
@xdg-icon-resource uninstall --context mimetypes --size 64 application-x-gambas3;
@if test x"$(XDG_UTILS)" != x; then \
@xdg-mime uninstall $(srcdir)/mime/application-x-gambas3.xml;
@xdg-icon-resource uninstall --context mimetypes --size 64 application-x-gambas3;
fi