mariadb/sql/share/Makefile.am

38 lines
1.3 KiB
Text
Raw Normal View History

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
2000-07-31 21:29:14 +02:00
dist-hook:
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
all: english/errmsg.sys
# Use the english errmsg.sys as a flag that all errmsg.sys needs to be
# created. Normally these are created by extra/Makefile
english/errmsg.sys: errmsg.txt
rm $(top_builddir)/include/mysqld_error.h
(cd $(top_builddir)/extra && $(MAKE))
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
$(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
# Don't update the files from bitkeeper
%::SCCS/s.%