summaryrefslogtreecommitdiff
path: root/wallpaper/Makefile.am
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2019-12-24 12:32:11 +0800
committerRobert Antoni Buj Gelonch <[email protected]>2019-12-24 11:07:14 +0100
commit26b2e261d06b16e602e42bd4ae1821494f019121 (patch)
tree9ee60f0a584eb988fd293fe310b282444ea72266 /wallpaper/Makefile.am
parentbde02f3b2f03f30e4f21f614b04848071fc746e6 (diff)
downloadcaja-extensions-26b2e261d06b16e602e42bd4ae1821494f019121.tar.bz2
caja-extensions-26b2e261d06b16e602e42bd4ae1821494f019121.tar.xz
migrate from intltool to gettext
Diffstat (limited to 'wallpaper/Makefile.am')
-rw-r--r--wallpaper/Makefile.am7
1 files changed, 4 insertions, 3 deletions
diff --git a/wallpaper/Makefile.am b/wallpaper/Makefile.am
index 0796412..9b1dfb2 100644
--- a/wallpaper/Makefile.am
+++ b/wallpaper/Makefile.am
@@ -12,8 +12,9 @@ libcaja_wallpaper_la_LDFLAGS = -module -avoid-version
libcaja_wallpaper_la_LIBADD = $(CAJA_LIBS)
extensiondir = $(datadir)/caja/extensions
-extension_in_files = libcaja-wallpaper.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-wallpaper.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=Copyright --keyword=Name --keyword=Description --template $< -d $(top_srcdir)/po -o $@
CLEANFILES = $(extension_DATA)