mariadb/sql/share/Makefile.am

30 lines
904 B
Text
Raw Normal View History

2000-07-31 21:29:14 +02:00
## Process this file with automake to create Makefile.in
ERRMSG=$(patsubst %, %/errmsg.sys, @AVAILABLE_LANGUAGES@)
2000-07-31 21:29:14 +02:00
# This requires gnu cp at distribution time.
dist-hook:
for lang in @AVAILABLE_LANGUAGES@ charsets; \
do cp -a $(srcdir)/$$lang $(distdir); done
all: $(ERRMSG)
$(ERRMSG): %.sys: %.txt
../../extra/comp_err $< $@
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; \
$(INSTALL_DATA) $(srcdir)/$$lang/errmsg.txt \
$(DESTDIR)$(pkgdatadir)/$$lang/errmsg.txt; \
done
$(mkinstalldirs) $(DESTDIR)$(pkgdatadir)/charsets
2000-09-22 00:46:26 +02:00
(for f in $(srcdir)/charsets/Index $(srcdir)/charsets/README $(srcdir)/charsets/*.conf; \
2000-07-31 21:29:14 +02:00
do \
2000-09-22 00:46:26 +02:00
n=`basename $$f`; \
$(INSTALL_DATA) $$f $(DESTDIR)$(pkgdatadir)/charsets/$$n; \
2000-07-31 21:29:14 +02:00
done)