summaryrefslogtreecommitdiff
path: root/desktop-directories
diff options
context:
space:
mode:
authorrbuj <[email protected]>2021-01-25 21:55:28 +0100
committerraveit65 <[email protected]>2021-02-07 14:10:56 +0100
commit7578472e39bbf4f23985a30858e1b7d324b39c9a (patch)
tree049de08e10e7ca08520a1a32594555dd0bfe1340 /desktop-directories
parente1431577975f16550213502f5e6767db240c5124 (diff)
downloadmate-menus-7578472e39bbf4f23985a30858e1b7d324b39c9a.tar.bz2
mate-menus-7578472e39bbf4f23985a30858e1b7d324b39c9a.tar.xz
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'desktop-directories')
-rw-r--r--desktop-directories/Makefile.am4
1 files changed, 4 insertions, 0 deletions
diff --git a/desktop-directories/Makefile.am b/desktop-directories/Makefile.am
index d3f8cb4..b09d2ee 100644
--- a/desktop-directories/Makefile.am
+++ b/desktop-directories/Makefile.am
@@ -30,7 +30,11 @@ directory_in_files = \
directory_DATA = $(directory_in_files:.directory.in=.directory)
%.directory: %.directory.in
+if USE_NLS
$(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
+else
+ $(AM_V_GEN) cp $< $@
+endif
EXTRA_DIST= $(directory_in_files)