From bce4817d3c2ddc150582db8451f3d92a5a2df5da Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Tue, 15 Oct 2019 14:11:46 +0800 Subject: migrate from intltool to gettext --- data/images/cosmos/Makefile.am | 8 +++++--- data/images/cosmos/cosmos.xml.in.in | 2 +- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'data/images/cosmos') diff --git a/data/images/cosmos/Makefile.am b/data/images/cosmos/Makefile.am index 6cc80d8..b48162b 100644 --- a/data/images/cosmos/Makefile.am +++ b/data/images/cosmos/Makefile.am @@ -19,15 +19,17 @@ images_DATA = \ $(NULL) cosmos.xml.in: cosmos.xml.in.in Makefile - $(edit) $< >$@ + @$(edit) $< >$@ background-1.xml: background-1.xml.in Makefile - $(edit) $< >$@ + $(AM_V_GEN) $(edit) $< >$@ metadata_in_files = cosmos.xml.in metadatadir = $(datadir)/mate-background-properties metadata_DATA = $(metadata_in_files:.xml.in=.xml) -@INTLTOOL_XML_RULE@ + +$(metadata_DATA): $(metadata_in_files) + $(AM_V_GEN) GETTEXTDATADIR=$(top_srcdir) $(MSGFMT) --xml --template $< -d $(top_srcdir)/po -o $@ edit = sed \ -e 's|@IMAGESDIR[@]|$(imagesdir)|g' diff --git a/data/images/cosmos/cosmos.xml.in.in b/data/images/cosmos/cosmos.xml.in.in index b9cf666..ffc75cb 100644 --- a/data/images/cosmos/cosmos.xml.in.in +++ b/data/images/cosmos/cosmos.xml.in.in @@ -4,7 +4,7 @@ - <_name>Cosmos + Cosmos @IMAGESDIR@/background-1.xml zoom -- cgit v1.2.1