summaryrefslogtreecommitdiffstats
path: root/ctdb/Makefile.in
diff options
context:
space:
mode:
authorMartin Schwenke <martin@meltin.net>2012-04-24 16:28:15 +1000
committerMartin Schwenke <martin@meltin.net>2012-04-27 15:42:42 +1000
commitdc2dfbdb93eadd4e3112af9cdd33b43042f7ec20 (patch)
tree0c80df19b6e588a9ccd26f63013951e18ea6d6a8 /ctdb/Makefile.in
parent46f82181d06db78aba101ad4f19beb7ca9d84005 (diff)
downloadsamba-dc2dfbdb93eadd4e3112af9cdd33b43042f7ec20.tar.gz
samba-dc2dfbdb93eadd4e3112af9cdd33b43042f7ec20.tar.xz
samba-dc2dfbdb93eadd4e3112af9cdd33b43042f7ec20.zip
tests: Add installation script for tests
This could all be done in Makefile.in, but that would be very complex. Signed-off-by: Martin Schwenke <martin@meltin.net> (This used to be ctdb commit 12c9986059cacda819e669fa77d613b408c62599)
Diffstat (limited to 'ctdb/Makefile.in')
-rwxr-xr-xctdb/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/ctdb/Makefile.in b/ctdb/Makefile.in
index 7b7f356331..843a948d66 100755
--- a/ctdb/Makefile.in
+++ b/ctdb/Makefile.in
@@ -364,6 +364,10 @@ install_pmda:
$(INSTALLCMD) -m 644 pmda/pmns pmda/domain.h pmda/help pmda/README $(PMDA_DEST_DIR)
$(INSTALLCMD) -m 755 bin/pmdactdb $(PMDA_DEST_DIR)
+# Should use $(datarootdir) but older autoconfs don't do this. :-(
+install_tests: all
+ tests/INSTALL --destdir=$(DESTDIR) --datarootdir=$(prefix)/share --libdir=$(libdir) --bindir=$(bindir) --etcdir=$(etcdir)
+
test: all
tests/run_tests.sh