summaryrefslogtreecommitdiff
path: root/mate-dictionary/data
diff options
context:
space:
mode:
Diffstat (limited to 'mate-dictionary/data')
-rw-r--r--mate-dictionary/data/Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/mate-dictionary/data/Makefile.am b/mate-dictionary/data/Makefile.am
index 167b2f35..f47069ba 100644
--- a/mate-dictionary/data/Makefile.am
+++ b/mate-dictionary/data/Makefile.am
@@ -33,7 +33,11 @@ dictsource_in_files = \
dictsource_DATA = $(dictsource_in_files:.desktop.in=.desktop)
%.desktop: %.desktop.in
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp $< $@
+endif
builderdir = $(datadir)/mate-dictionary
builder_DATA = \
@@ -57,7 +61,11 @@ $(applet_in_files): $(applet_in_files).in Makefile
$< > $@
$(applet_DATA): $(applet_in_files) Makefile
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp $< $@
+endif
servicedir = $(datadir)/dbus-1/services
service_in_files = org.mate.panel.applet.DictionaryAppletFactory.service.in
@@ -75,8 +83,13 @@ endif # BUILD_GDICT_APPLET
appdatadir = $(datadir)/metainfo
appdata_in_files = mate-dictionary.appdata.xml.in
appdata_DATA = $(appdata_in_files:.xml.in=.xml)
+
$(appdata_DATA): $(appdata_in_files)
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp $< $@
+endif
gsettings_SCHEMAS = org.mate.dictionary.gschema.xml
@GSETTINGS_RULES@