mirror of
https://github.com/MariaDB/server.git
synced 2025-01-21 06:22:28 +01:00
c566f9a25f
BUILD/compile-dist: fixes for 'make dist' and 'make distcheck' include yassl in "dist" Makefile.am: fixes for 'make dist' and 'make distcheck' remove double-listing of everything in SUBDIRS and DIST_SUBDIRS remove @yassl_dir@, it belongs to extra/Makefile.am specify --basedir for mysql_install_db, in case builddir (where mysql_install_db is) differs from srcdir (where mysql_fix_privilege_tables.sql is) config/ac-macros/yassl.m4: fixes for 'make dist' and 'make distcheck' create Makefile's only if yassl is used yassl_dir must not include / config/ac-macros/zlib.m4: fixes for 'make dist' and 'make distcheck' create Makefile only if zlib is used configure.in: fixes for 'make dist' and 'make distcheck' create Makefile only if a feature is enabled storage engine dirs must not include / automatically disable readline/libedit/sql-bench if source dir is missing extra/Makefile.am: fixes for 'make dist' and 'make distcheck' remove SUBDIR/DIST_SUBDIR hack libmysql_r/Makefile.am: fixes for 'make dist' and 'make distcheck' when symlinking all files from libmysql/ take into account that srcdir != builddir libmysqld/Makefile.am: fixes for 'make dist' and 'make distcheck' remove fragile promiscuous search for object files if .o file is not where we look for it - extract it from the library mysql-test/ndb/Makefile.am: fixes for 'make dist' and 'make distcheck' ndbcluster script is not a "source" don't forget to cleanup plugin/Makefile.am: fixes for 'make dist' and 'make distcheck' include plugin/fulltext/configure.in template in the distribution storage/Makefile.am: fixes for 'make dist' and 'make distcheck' remove SUBDIRS/DIST_SUBDIRS hack storage/ndb/Makefile.am: fixes for 'make dist' and 'make distcheck' force common.mk.am out of DIST_COMMON (which is otherwise an auto-generated list of Makefile's sources) because it's listed indirectly in EXTRA_DIST, and with bk -r get, a file cannot be copied twice.
31 lines
1.1 KiB
Makefile
31 lines
1.1 KiB
Makefile
SUBDIRS = src tools . include @ndb_opt_subdirs@
|
|
DIST_SUBDIRS = src tools include test docs
|
|
EXTRA_DIST = config ndbapi-examples
|
|
DIST_COMMON = $(srcdir)/Makefile.am $(srcdir)/Makefile.in
|
|
|
|
include $(top_srcdir)/storage/ndb/config/common.mk.am
|
|
|
|
dist-hook:
|
|
-rm -rf `find $(distdir) -type d -name SCCS`
|
|
-rm -rf `find $(distdir) -type d -name old_files`
|
|
-rm -rf `find $(distdir)/ndbapi-examples -name '*.o'`
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
|
if test "$$subdir" != "." -a "$$subdir" != "include"; then \
|
|
files="`find $$subdir -name '*\.h'` `find $$subdir -name '*\.hpp'`"; \
|
|
for f in $$files; do \
|
|
if test -d "$(distdir)/`dirname $$f`" -a ! -e "$(distdir)/$$f"; then \
|
|
cp $$f $(distdir)/$$f; \
|
|
fi; \
|
|
done; \
|
|
fi; \
|
|
done
|
|
|
|
windoze:
|
|
for i in `find . -name 'Makefile.am'`; do make -C `dirname $$i` windoze-dsp; done
|
|
|
|
windoze-dsp:
|
|
|
|
all-windoze-dsp: windoze
|
|
find . -name '*.dsp' | grep -v SCCS | xargs unix2dos
|
|
$(top_srcdir)/storage/ndb/config/make-win-dsw.sh | unix2dos > ndb.dsw
|
|
tar cvfz ndb-win-dsp.tar.gz ndb.dsw `find . -name '*.dsp' | grep -v SCCS`
|