mirror of
https://github.com/MariaDB/server.git
synced 2025-01-17 04:22:27 +01:00
5c3c40798d
clean: targets removed generated *.h files moved to include/ Docs/Images/Makefile.am: no clean: targets please! client/Makefile.am: generated *.h files moved to include/ extra/Makefile.am: generated *.h files moved to include/ include/Makefile.am: no clean: targets please! libmysql/Makefile.am: generated *.h files moved to include/ libmysql_r/Makefile.am: generated *.h files moved to include/ libmysqld/Makefile.am: generated *.h files moved to include/ libmysqld/examples/Makefile.am: generated *.h files moved to include/ no clean: target please! ndb/docs/Makefile.am: no clean: targets please! scripts/Makefile.am: SUPERCLEANFILES means nothing server-tools/instance-manager/Makefile.am: generated *.h files moved to include/ sql/Makefile.am: generated *.h files moved to include/ sql/share/Makefile.am: instead of (incorrectly) duplicating comp_err command line, call do make in extra/ tools/Makefile.am: generated *.h files moved to include/ BitKeeper/etc/ignore: Added include/mysqld_ername.h include/mysqld_error.h include/sql_state.h to the ignore list
37 lines
1.3 KiB
Makefile
37 lines
1.3 KiB
Makefile
## Process this file with automake to create Makefile.in
|
|
|
|
EXTRA_DIST= errmsg.txt
|
|
|
|
dist-hook:
|
|
for dir in charsets @AVAILABLE_LANGUAGES@; do \
|
|
test -d $(distdir)/$$dir || mkdir $(distdir)/$$dir; \
|
|
$(INSTALL_DATA) $(srcdir)/$$dir/*.* $(distdir)/$$dir; \
|
|
done; \
|
|
sleep 1 ; touch $(srcdir)/*/errmsg.sys
|
|
$(INSTALL_DATA) $(srcdir)/charsets/README $(distdir)/charsets
|
|
$(INSTALL_DATA) $(srcdir)/charsets/Index.xml $(distdir)/charsets
|
|
|
|
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))
|
|
|
|
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.%
|