diff options
author | tomas@poseidon.ndb.mysql.com <> | 2004-06-01 11:19:40 +0000 |
---|---|---|
committer | tomas@poseidon.ndb.mysql.com <> | 2004-06-01 11:19:40 +0000 |
commit | f265403fb7c9c3763a5f016568db4dcf3f7e0898 (patch) | |
tree | 21e5f7f65f51e47ab501506e005b1143f8d08f33 /ndb/Makefile.am | |
parent | e8bd062fff3dbc29149e80864b446d3f8d1ad55b (diff) | |
download | mariadb-git-f265403fb7c9c3763a5f016568db4dcf3f7e0898.tar.gz |
various ndb make changes, see respective file
Diffstat (limited to 'ndb/Makefile.am')
-rw-r--r-- | ndb/Makefile.am | 20 |
1 files changed, 15 insertions, 5 deletions
diff --git a/ndb/Makefile.am b/ndb/Makefile.am index c83c9f1fa48..27274ec1eb2 100644 --- a/ndb/Makefile.am +++ b/ndb/Makefile.am @@ -1,7 +1,4 @@ -## find * -name '*.hpp' -print | grep -v SCCS | grep -v odbc | sed 's/\.hpp/\.hpp \\/' > tmp.out -## find * -name '*.h' -print | grep -v SCCS | grep -v odbc | sed 's/\.h/\.h \\/' >> tmp.out - -SUBDIRS = . include src test tools +SUBDIRS = src test tools . ndbinclude_HEADERS = \ include/ndb_types.h \ @@ -31,4 +28,17 @@ mgmapiinclude_HEADERS = \ include/mgmapi/mgmapi.h \ include/mgmapi/mgmapi_debug.h -noinst_HEADERS = +EXTRA_DIST = include + +dist-hook: + -rm -rf `find $(distdir) -type d -name SCCS` + list='$(SUBDIRS)'; for subdir in $$list; do \ + if test "$$subdir" != "."; 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 |