aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/Makefile.am
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@novell.com>2004-05-26 04:41:32 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2004-05-26 04:41:32 +0800
commit7dfee05355fb0086563434285ac1a524e78cd2bd (patch)
tree79bb392a6e972455a18e88076b7a91ba8dd81bab /calendar/Makefile.am
parent64b6b3d827e931ae17281acf72f2de9b259afe0f (diff)
downloadgsoc2013-evolution-7dfee05355fb0086563434285ac1a524e78cd2bd.tar.gz
gsoc2013-evolution-7dfee05355fb0086563434285ac1a524e78cd2bd.tar.zst
gsoc2013-evolution-7dfee05355fb0086563434285ac1a524e78cd2bd.zip
Make calendar-errors.xml.h and install the xml file.
2004-05-25 Jeffrey Stedfast <fejj@novell.com> * Makefile.am: Make calendar-errors.xml.h and install the xml file. * calendar-errors.xml: New error definitions file. * gui/gnome-cal.c (backend_died_cb): Use e-error * gui/e-tasks.c (backend_died_cb): Use e-error * gui/dialogs/send-comp.c (send_component_dialog): Use e-error * gui/dialogs/save-comp.c (save_component_dialog): Use e-error * gui/dialogs/delete-comp.c (delete_component_dialog): Use e-error * gui/dialogs/cancel-comp.c (cancel_component_dialog): Use e-error svn path=/trunk/; revision=26084
Diffstat (limited to 'calendar/Makefile.am')
-rw-r--r--calendar/Makefile.am13
1 files changed, 13 insertions, 0 deletions
diff --git a/calendar/Makefile.am b/calendar/Makefile.am
index 9e74d29e99..56acae59c8 100644
--- a/calendar/Makefile.am
+++ b/calendar/Makefile.am
@@ -6,7 +6,20 @@ endif
SUBDIRS = idl common gui importers $(CONDUIT_DIR)
+error_DATA = calendar-errors.xml
+error_i18n = $(error_DATA:.xml=.xml.h)
+errordir = $(privdatadir)/errors
+%.xml.h: %.xml
+ $(top_builddir)/e-util/e-error-tool $^
+
EXTRA_DIST = \
ChangeLog.pre-1-4 \
+ $(error_DATA) \
zones.h
+dist-hook:
+ cd $(distdir); rm -f $(BUILT_SOURCES)
+
+BUILT_SOURCES = $(error_i18n)
+
+CLEANFILES = $(BUILT_SOURCES)