mirror of
https://github.com/moparisthebest/hexchat
synced 2024-11-28 12:12:16 -05:00
30 lines
787 B
Makefile
30 lines
787 B
Makefile
appdata_in_files = hexchat.appdata.xml.in
|
|
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
|
|
appdatadir = $(datadir)/appdata
|
|
@INTLTOOL_XML_RULE@
|
|
|
|
data_desktopdir = $(datadir)/applications
|
|
data_desktop_in_files = hexchat.desktop.in
|
|
|
|
if WITH_TM
|
|
data_desktop_in_files += htm.desktop.in
|
|
mime_DATA = htm-mime.xml
|
|
mimedir = $(datadir)/mime/packages
|
|
endif
|
|
|
|
data_desktop_DATA = $(data_desktop_in_files:.desktop.in=.desktop)
|
|
@INTLTOOL_DESKTOP_RULE@
|
|
|
|
UPDATE_MIME_DATABASE = update-mime-database "$(datadir)/mime" || :
|
|
UPDATE_DESKTOP_DATABASE = update-desktop-database -q "$(datadir)/applications" || :
|
|
|
|
install-data-hook:
|
|
$(UPDATE_MIME_DATABASE);
|
|
$(UPDATE_DESKTOP_DATABASE);
|
|
|
|
uninstall-hook:
|
|
$(UPDATE_MIME_DATABASE);
|
|
$(UPDATE_DESKTOP_DATABASE);
|
|
|
|
CLEANFILES = $(appdata_DATA) $(data_desktop_DATA)
|