From 443ab1ee8c4abf0c07727bc2e93b8f892294d324 Mon Sep 17 00:00:00 2001 From: Not Zed Date: Wed, 12 May 2004 03:32:55 +0000 Subject: fix i18n file generation rules. 2004-05-12 Not Zed * Makefile.am (%.xml.h): fix i18n file generation rules. * filter-errors.xml: rename from xml.in and fix tags. * filter-errors.xml.h: add for translators. svn path=/trunk/; revision=25867 --- filter/Makefile.am | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) (limited to 'filter/Makefile.am') diff --git a/filter/Makefile.am b/filter/Makefile.am index 502e543a5c..0e7fd2f4b7 100644 --- a/filter/Makefile.am +++ b/filter/Makefile.am @@ -70,7 +70,8 @@ libfilter_la_DEPENDENCIES = libfilter-i18n.h EXTRA_DIST = \ $(glade_DATA) \ - $(error_in_files) \ + $(error_DATA) \ + $(error_i18n) \ ChangeLog.pre-1-4 \ filter-marshal.list \ filtertypes.xml \ @@ -82,10 +83,11 @@ EXTRA_DIST = \ filterdir = $(privdatadir) filter_DATA = filtertypes.xml vfoldertypes.xml searchtypes.xml -error_in_files = filter-errors.xml.in -error_DATA = $(error_in_files:.xml.in=.xml) +error_DATA = filter-errors.xml +error_i18n = $(error_DATA:.xml=.xml.h) errordir = $(privdatadir)/errors -@INTLTOOL_XML_RULE@ +%.xml.h: %.xml + $(top_builddir)/e-util/e-error-tool $^ libfilter-i18n.h: filtertypes.xml vfoldertypes.xml echo "/* Automatically generated. Do not edit. */" > $@; \ @@ -95,3 +97,6 @@ libfilter-i18n.h: filtertypes.xml vfoldertypes.xml MARSHAL_GENERATED = filter-marshal.c filter-marshal.h @EVO_MARSHAL_RULE@ + +BUILT_SOURCES = $(MARSHAL_GENERATED) $(error_i18n) +CLEANFILES = $(BUILT_SOURCES) -- cgit