2004-06-15 08:14:20 +02:00
|
|
|
SUBDIRS = src tools . include @ndb_opt_subdirs@
|
|
|
|
DIST_SUBDIRS = src tools include test docs
|
2004-06-03 16:02:07 +02:00
|
|
|
EXTRA_DIST = config
|
2004-05-26 17:36:55 +02:00
|
|
|
|
2004-06-02 02:54:58 +02:00
|
|
|
include $(top_srcdir)/ndb/config/common.mk.am
|
2004-06-01 13:19:40 +02:00
|
|
|
|
|
|
|
dist-hook:
|
2004-06-03 16:02:07 +02:00
|
|
|
-rm -rf `find $(distdir) -type d -name SCCS`
|
|
|
|
-rm -rf `find $(distdir) -type d -name old_files`
|
2004-06-01 13:19:40 +02:00
|
|
|
list='$(SUBDIRS)'; for subdir in $$list; do \
|
2004-06-02 02:54:58 +02:00
|
|
|
if test "$$subdir" != "." -a "$$subdir" != "include"; then \
|
2004-06-01 13:19:40 +02:00
|
|
|
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
|