diff options
author | Not Zed <NotZed@Ximian.com> | 2004-05-12 11:32:55 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2004-05-12 11:32:55 +0800 |
commit | 443ab1ee8c4abf0c07727bc2e93b8f892294d324 (patch) | |
tree | 6206885e8aba9131f9cbf0deac7035f7d5530d6d /filter/Makefile.am | |
parent | bc754690bee57ac0e66232197d9b88bc692aac79 (diff) | |
download | gsoc2013-evolution-443ab1ee8c4abf0c07727bc2e93b8f892294d324.tar.gz gsoc2013-evolution-443ab1ee8c4abf0c07727bc2e93b8f892294d324.tar.zst gsoc2013-evolution-443ab1ee8c4abf0c07727bc2e93b8f892294d324.zip |
fix i18n file generation rules.
2004-05-12 Not Zed <NotZed@Ximian.com>
* 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
Diffstat (limited to 'filter/Makefile.am')
-rw-r--r-- | filter/Makefile.am | 13 |
1 files changed, 9 insertions, 4 deletions
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) |