summaryrefslogtreecommitdiff
path: root/caja/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-11-14 15:31:18 +0800
committerZenWalker <[email protected]>2019-12-01 13:20:15 +0100
commit8f84b07cb85562c442ef1e767e99d6efab182e56 (patch)
tree113615f7b7112efe8f53d551d3e3c100342bed7c /caja/Makefile.am
parent8efd6d8cb2eabfecea809e8dab9eb013c880e181 (diff)
downloadengrampa-8f84b07cb85562c442ef1e767e99d6efab182e56.tar.bz2
engrampa-8f84b07cb85562c442ef1e767e99d6efab182e56.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'caja/Makefile.am')
-rw-r--r--caja/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/caja/Makefile.am b/caja/Makefile.am
index 4821897..3ef86f4 100644
--- a/caja/Makefile.am
+++ b/caja/Makefile.am
@@ -19,9 +19,10 @@ libcaja_engrampa_la_LDFLAGS = -module -avoid-version -no-undefined
libcaja_engrampa_la_LIBADD = $(CAJA_LIBS)
extensiondir = $(datadir)/caja/extensions
-extension_in_files = libcaja-engrampa.caja-extension.in
-extension_DATA = $(extension_in_files:.caja-extension.in=.caja-extension)
-%.caja-extension: %.caja-extension.in $(INTLTOOL_MERGE) $(wildcard $(top_srcdir)/po/*.po) ; $(AM_V_GEN) LC_ALL=C $(INTLTOOL_MERGE) -d -u -c $(top_builddir)/po/.intltool-merge-cache $(top_srcdir)/po $< $@
+extension_in_files = libcaja-engrampa.caja-extension.desktop.in
+extension_DATA = $(extension_in_files:.caja-extension.desktop.in=.caja-extension)
+$(extension_DATA): $(extension_in_files)
+ $(AM_V_GEN) $(MSGFMT) --desktop --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
CLEANFILES = $(extension_DATA)