summaryrefslogtreecommitdiff
path: root/font-viewer/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'font-viewer/Makefile.am')
-rw-r--r--font-viewer/Makefile.am6
1 files changed, 2 insertions, 4 deletions
diff --git a/font-viewer/Makefile.am b/font-viewer/Makefile.am
index b71ed500..dad9d5ac 100644
--- a/font-viewer/Makefile.am
+++ b/font-viewer/Makefile.am
@@ -34,6 +34,8 @@ thumbnailer_DATA = mate-font-viewer.thumbnailer
desktopdir = $(datadir)/applications
desktop_in_files = mate-font-viewer.desktop.in
desktop_DATA = $(desktop_in_files:.desktop.in=.desktop)
+$(desktop_DATA): $(desktop_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
install-data-local: install-desktop-database
@@ -43,10 +45,6 @@ install-desktop-database: install-desktopDATA
uninstall-local:
rm -f $(DESTDIR)$(desktopdir)/mimeinfo.cache
-@INTLTOOL_DESKTOP_RULE@
-@INTLTOOL_DIRECTORY_RULE@
-@INTLTOOL_SCHEMAS_RULE@
-
CLEANFILES = $(desktop_DATA) \
$(schemas_DATA) $(directory_DATA)