diff options
Diffstat (limited to 'baobab/data/Makefile.am')
-rw-r--r-- | baobab/data/Makefile.am | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/baobab/data/Makefile.am b/baobab/data/Makefile.am index a5835007..9794bdcc 100644 --- a/baobab/data/Makefile.am +++ b/baobab/data/Makefile.am @@ -21,13 +21,22 @@ $(baobabapp_in_files): $(baobabapp_in_files:.desktop.in=.desktop.in.in) sed -e "s|\@VERSION\@|@VERSION@|" $< > $@ $(baobabapp_DATA): $(baobabapp_in_files) +if USE_NLS $(AM_V_GEN) $(MSGFMT) --desktop --template $< -d $(top_srcdir)/po -o $@ +else + $(AM_V_GEN) cp $< $@ +endif appdatadir = $(datadir)/metainfo appdata_in_files = mate-disk-usage-analyzer.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.disk-usage-analyzer.gschema.xml @GSETTINGS_RULES@ |