diff options
author | rbuj <[email protected]> | 2021-01-25 21:55:28 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-07 14:10:56 +0100 |
commit | 7578472e39bbf4f23985a30858e1b7d324b39c9a (patch) | |
tree | 049de08e10e7ca08520a1a32594555dd0bfe1340 /desktop-directories | |
parent | e1431577975f16550213502f5e6767db240c5124 (diff) | |
download | mate-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.am | 4 |
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) |