diff options
author | rbuj <[email protected]> | 2021-02-13 12:32:06 +0100 |
---|---|---|
committer | raveit65 <[email protected]> | 2021-02-16 14:07:47 +0100 |
commit | e50a1907e04a320bf9e054182b8dbeb4c52eb076 (patch) | |
tree | f0c11e26e732a7693149229c6d5fd7449149b35b /capplets/mouse | |
parent | 68306612ea6c7dc8635290950ce435a459dd4568 (diff) | |
download | mate-control-center-e50a1907e04a320bf9e054182b8dbeb4c52eb076.tar.bz2 mate-control-center-e50a1907e04a320bf9e054182b8dbeb4c52eb076.tar.xz |
build: allow users to disable gettext support (--disable-nls)
Diffstat (limited to 'capplets/mouse')
-rw-r--r-- | capplets/mouse/Makefile.am | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/capplets/mouse/Makefile.am b/capplets/mouse/Makefile.am index dfeb69e1..0fee735e 100644 --- a/capplets/mouse/Makefile.am +++ b/capplets/mouse/Makefile.am @@ -21,7 +21,11 @@ Desktop_in_files = mate-settings-mouse.desktop.in desktop_DATA = $(Desktop_in_files:.desktop.in=.desktop) $(desktop_DATA): $(Desktop_in_files) +if USE_NLS $(AM_V_GEN) $(MSGFMT) --desktop --keyword= --keyword=Name --keyword=Comment --keyword=Keywords --template $< -d $(top_srcdir)/po -o $@ +else + $(AM_V_GEN) sed '/^# Translators/d' < $< > $@ +endif mate-mouse-properties-resources.h mate-mouse-properties-resources.c: org.mate.mcc.mouse.gresource.xml Makefile $(shell $(GLIB_COMPILE_RESOURCES) --generate-dependencies --sourcedir $(srcdir) $(srcdir)/org.mate.mcc.mouse.gresource.xml) $(AM_V_GEN) XMLLINT=$(XMLLINT) $(GLIB_COMPILE_RESOURCES) --target $@ --sourcedir $(srcdir) --generate --c-name mouse $< |