summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-12-24 16:58:09 +0800
committerZenWalker <[email protected]>2020-01-06 00:34:02 +0100
commit08de1220675b973e612794979dcccc6ba8f1d954 (patch)
tree50a3f430613c22b4ae5a4b24dd88ade312dd297d /Makefile.am
parent54f65b47774e0cce0b8ea93b27c85826b376cf6b (diff)
downloadpython-caja-08de1220675b973e612794979dcccc6ba8f1d954.tar.bz2
python-caja-08de1220675b973e612794979dcccc6ba8f1d954.tar.xz
migrate from intltools to gettext
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am11
1 files changed, 6 insertions, 5 deletions
diff --git a/Makefile.am b/Makefile.am
index a54fb9c..6ab17f4 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -1,4 +1,4 @@
-SUBDIRS = src examples po
+SUBDIRS = po src examples
if ENABLE_GTK_DOC
SUBDIRS += docs
@@ -10,11 +10,12 @@ pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = caja-python.pc
extensiondir = $(datadir)/caja/extensions
-extension_in_files = libcaja-python.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-python.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 $@
-EXTRA_DIST = autogen.sh caja-python.pc.in libcaja-python.caja-extension.in
+EXTRA_DIST = autogen.sh caja-python.pc.in libcaja-python.caja-extension.desktop.in
CLEANFILES = libcaja-python.caja-extension
DISTCHECK_CONFIGURE_FLAGS= \