diff options
author | unknown <anjuta@arthur.local> | 2004-12-13 22:51:54 +0200 |
---|---|---|
committer | unknown <anjuta@arthur.local> | 2004-12-13 22:51:54 +0200 |
commit | 87275b28664befb2e42070c4ea7824914c4d9884 (patch) | |
tree | ada783a806498c8c73335dba30a6ef0100e0ad74 /sql/share/Makefile.am | |
parent | c4dc0c2583031c35bb944edcd3ea918862ffa7b6 (diff) | |
download | mariadb-git-87275b28664befb2e42070c4ea7824914c4d9884.tar.gz |
WL#1051, more maintanable error messages.
BitKeeper/deleted/.del-mysqld_error.h~9dac75782467aab7:
Delete: include/mysqld_error.h
BitKeeper/deleted/.del-sql_state.h~4307ea5f1fe99019:
Delete: include/sql_state.h
BitKeeper/deleted/.del-errmsg.txt~ba132dc9bc936c8a:
Delete: sql/share/czech/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~4617575065d612b9:
Delete: sql/share/danish/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~ef28b592c7591b7:
Delete: sql/share/dutch/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~11edc4db89248c16:
Delete: sql/share/french/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~184eb1f09242dc72:
Delete: sql/share/estonian/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~898865062c970766:
Delete: sql/share/greek/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~94a93cc742fca24d:
Delete: sql/share/german/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~f96b7055cac394e:
Delete: sql/share/english/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~2cdeb8d6f80eba72:
Delete: sql/share/norwegian/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~587903f9311db2d1:
Delete: sql/share/italian/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~9dab24f7fb11b1e1:
Delete: sql/share/korean/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~e3183b99fbba0a9c:
Delete: sql/share/japanese/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~eeb2c47537ed9c23:
Delete: sql/share/hungarian/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~606dfaeb9e81aa4e:
Delete: sql/share/portuguese/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~7397c423c52c6d2c:
Delete: sql/share/polish/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~b6181e29d8282b06:
Delete: sql/share/norwegian-ny/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~e2609fdf7870795:
Delete: sql/share/romanian/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~ef53c33ac0ff8a84:
Delete: sql/share/russian/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~ffe4a0c9e3206150:
Delete: sql/share/serbian/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~6bbd9eac7f0e6b89:
Delete: sql/share/slovak/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~b44a85a177954da0:
Delete: sql/share/swedish/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~f19bfd5d4c918964:
Delete: sql/share/spanish/errmsg.txt
BitKeeper/deleted/.del-errmsg.txt~8ed1999cbd481dc4:
Delete: sql/share/ukrainian/errmsg.txt
client/Makefile.am:
Added pass to mysqld_error.j and sql_state.h
extra/Makefile.am:
Added rules to create mysqld_error.h and sql_state.h
extra/comp_err.c:
WL#1051
include/Makefile.am:
Added pass to mysqld_error.h and sql_state.h
libmysql/Makefile.am:
Added pass to mysqld_error.h and sql_state.h
libmysql_r/Makefile.am:
Added pass to mysqld_error.h and sql_state.h
server-tools/instance-manager/Makefile.am:
Added pass to mysqld_error.h and sql_state.h
sql/Makefile.am:
Added pass to mysqld_error.h and sql_state.h
sql/share/Makefile.am:
Removed unnecessary loop over all languages; addred rule to creat <lang>.sys files
tools/Makefile.am:
Added pass to mysqld_error.h and sql_state.h
BitKeeper/etc/logging_ok:
Logging to logging@openlogging.org accepted
Diffstat (limited to 'sql/share/Makefile.am')
-rw-r--r-- | sql/share/Makefile.am | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/sql/share/Makefile.am b/sql/share/Makefile.am index 662159a9c63..b50ba2be8da 100644 --- a/sql/share/Makefile.am +++ b/sql/share/Makefile.am @@ -9,10 +9,13 @@ dist-hook: $(INSTALL_DATA) $(srcdir)/charsets/README $(distdir)/charsets $(INSTALL_DATA) $(srcdir)/charsets/Index.xml $(distdir)/charsets -all: @AVAILABLE_LANGUAGES_ERRORS@ +all: english/errmsg.sys -# this is ugly, but portable -@AVAILABLE_LANGUAGES_ERRORS_RULES@ +# Use the english errmsg.sys as a flag that all errmsg.sys needs to be +# created. Normally these are created by extra/Makefile.am + +english/errmsg.sys: errmsg.txt + $(top_builddir)/extra/comp_err --charset=$(srcdir)/charsets --out-dir=$(top_builddir)/sql/share/ --header_file=$(top_builddir)/extra/mysqld_error.h --state_file=$(top_builddir)/extra/sql_state.h --in_file=errmsg.txt install-data-local: for lang in @AVAILABLE_LANGUAGES@; \ @@ -20,18 +23,12 @@ install-data-local: $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$lang; \ $(INSTALL_DATA) $(srcdir)/$$lang/errmsg.sys \ $(DESTDIR)$(pkgdatadir)/$$lang/errmsg.sys; \ - $(INSTALL_DATA) $(srcdir)/$$lang/errmsg.txt \ - $(DESTDIR)$(pkgdatadir)/$$lang/errmsg.txt; \ done $(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/charsets + $(INSTALL_DATA) $(srcdir)/errmsg.txt \ + $(DESTDIR)$(pkgdatadir)/errmsg.txt; \ $(INSTALL_DATA) $(srcdir)/charsets/README $(DESTDIR)$(pkgdatadir)/charsets/README $(INSTALL_DATA) $(srcdir)/charsets/*.xml $(DESTDIR)$(pkgdatadir)/charsets -fix_errors: - for lang in @AVAILABLE_LANGUAGES@; \ - do \ - ../../extra/comp_err -C$(srcdir)/charsets/ $(srcdir)/$$lang/errmsg.txt $(srcdir)/$$lang/errmsg.sys; \ - done - # Don't update the files from bitkeeper %::SCCS/s.% |