2000-07-31 21:29:14 +02:00
|
|
|
## Process this file with automake to create Makefile.in
|
|
|
|
|
2004-12-17 18:00:05 +01:00
|
|
|
EXTRA_DIST= errmsg.txt
|
2004-12-17 17:46:46 +01:00
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
dist-hook:
|
2001-02-06 03:58:20 +01:00
|
|
|
for dir in charsets @AVAILABLE_LANGUAGES@; do \
|
|
|
|
test -d $(distdir)/$$dir || mkdir $(distdir)/$$dir; \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/$$dir/*.* $(distdir)/$$dir; \
|
|
|
|
done; \
|
2002-03-26 00:33:41 +01:00
|
|
|
sleep 1 ; touch $(srcdir)/*/errmsg.sys
|
2001-02-06 22:47:54 +01:00
|
|
|
$(INSTALL_DATA) $(srcdir)/charsets/README $(distdir)/charsets
|
2003-01-03 11:35:32 +01:00
|
|
|
$(INSTALL_DATA) $(srcdir)/charsets/Index.xml $(distdir)/charsets
|
2000-07-31 21:29:14 +02:00
|
|
|
|
2004-12-13 21:51:54 +01:00
|
|
|
all: english/errmsg.sys
|
2001-01-14 11:56:44 +01:00
|
|
|
|
2004-12-13 21:51:54 +01:00
|
|
|
# Use the english errmsg.sys as a flag that all errmsg.sys needs to be
|
2005-01-28 17:14:03 +01:00
|
|
|
# created. Normally these are created by extra/Makefile
|
2004-12-13 21:51:54 +01:00
|
|
|
|
|
|
|
english/errmsg.sys: errmsg.txt
|
2005-01-28 17:14:03 +01:00
|
|
|
rm $(top_builddir)/include/mysqld_error.h
|
|
|
|
(cd $(top_builddir)/extra && $(MAKE))
|
2001-01-07 14:51:04 +01:00
|
|
|
|
2000-07-31 21:29:14 +02:00
|
|
|
install-data-local:
|
|
|
|
for lang in @AVAILABLE_LANGUAGES@; \
|
|
|
|
do \
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/$$lang; \
|
|
|
|
$(INSTALL_DATA) $(srcdir)/$$lang/errmsg.sys \
|
|
|
|
$(DESTDIR)$(pkgdatadir)/$$lang/errmsg.sys; \
|
|
|
|
done
|
|
|
|
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/charsets
|
2004-12-13 21:51:54 +01:00
|
|
|
$(INSTALL_DATA) $(srcdir)/errmsg.txt \
|
|
|
|
$(DESTDIR)$(pkgdatadir)/errmsg.txt; \
|
2001-01-31 21:01:16 +01:00
|
|
|
$(INSTALL_DATA) $(srcdir)/charsets/README $(DESTDIR)$(pkgdatadir)/charsets/README
|
2003-01-05 14:34:24 +01:00
|
|
|
$(INSTALL_DATA) $(srcdir)/charsets/*.xml $(DESTDIR)$(pkgdatadir)/charsets
|
2001-02-03 17:00:29 +01:00
|
|
|
|
|
|
|
# Don't update the files from bitkeeper
|
|
|
|
%::SCCS/s.%
|