mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
18 lines
598 B
Makefile
18 lines
598 B
Makefile
SUBDIRS = src tools . include $(ndb_opt_test_subdirs)
|
|
EXTRA_DIST = config
|
|
|
|
include $(top_srcdir)/ndb/config/common.mk.am
|
|
|
|
dist-hook:
|
|
-rm -rf `find $(distdir) -type d -name SCCS`
|
|
-rm -rf `find $(distdir) -type d -name old_files`
|
|
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
|