summaryrefslogtreecommitdiff
path: root/properties/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-11-04 17:37:08 +0800
committerZenWalker <[email protected]>2019-11-11 01:18:10 +0100
commitd19b62785293db5999bb14b6ebb611aa76a7253a (patch)
tree07995725258e0f67bd91c0692110e335bbd6c82f /properties/Makefile.am
parent73c0bb35bfc355eaa2842652f6a85a58592fb1c2 (diff)
downloadatril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.bz2
atril-d19b62785293db5999bb14b6ebb611aa76a7253a.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'properties/Makefile.am')
-rw-r--r--properties/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/properties/Makefile.am b/properties/Makefile.am
index b0b46659..a3cb40fb 100644
--- a/properties/Makefile.am
+++ b/properties/Makefile.am
@@ -31,9 +31,10 @@ libatril_properties_page_la_LIBADD = \
libatril_properties_page_la_LDFLAGS = -module -avoid-version -no-undefined
extensiondir = $(datadir)/caja/extensions
-extension_in_files = libatril-properties-page.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 = libatril-properties-page.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=Description --template $< -d $(top_srcdir)/po -o $@
EXTRA_DIST = $(extension_in_files)