diff options
author | TingPing <tingping@tingping.se> | 2014-02-16 00:56:07 -0500 |
---|---|---|
committer | TingPing <tingping@tingping.se> | 2014-02-16 00:56:48 -0500 |
commit | 12cd5cb64a51c892f6303743a40eed1a56533c5d (patch) | |
tree | 0feae8746680d42ee34108cbe23d52c02d8611fe /data/misc/Makefile.am | |
parent | 0d4cde2ba838ee127b2ed6540d046df09c36488f (diff) |
Translate desktop files
Diffstat (limited to 'data/misc/Makefile.am')
-rw-r--r-- | data/misc/Makefile.am | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/data/misc/Makefile.am b/data/misc/Makefile.am index 1dcdb4cd..94138185 100644 --- a/data/misc/Makefile.am +++ b/data/misc/Makefile.am @@ -1,15 +1,19 @@ -util_DATA = hexchat.desktop -utildir = $(datadir)/applications - 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 -util_DATA += htm.desktop +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" || : @@ -21,7 +25,5 @@ install-data-hook: uninstall-hook: $(UPDATE_MIME_DATABASE); $(UPDATE_DESKTOP_DATABASE); -endif - -CLEANFILES = $(appdata_DATA) +CLEANFILES = $(appdata_DATA) $(data_desktop_DATA) |