summaryrefslogtreecommitdiff
path: root/mysql-test/ndb/Makefile.am
blob: 2a1c59fd3596948ad723aed5fbf5e81db46b7fb5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26

BUILT_SOURCES =		ndbcluster

benchdir_root=		$(prefix)
testdir =	        $(benchdir_root)/mysql-test/ndb

test_SCRIPTS = ndbcluster

noinst_HEADERS = ndbcluster.sh

dist_test_DATA = ndb_config_2_node.ini ndb_config_1_node.ini

SUFFIXES = .sh

.sh:
	@RM@ -f $@ $@-t
	@SED@ \
	  -e 's!@''ndb_port''@!$(ndb_port)!g' \
	  -e 's!@''ndbbindir''@!$(ndbbindir)!g' \
	  -e 's!@''ndbtoolsdir''@!$(ndbtoolsdir)!g' \
	  $< > $@-t
	@CHMOD@ +x $@-t
	@MV@ $@-t $@

# Don't update the files from bitkeeper
%::SCCS/s.%