Gitweb:
http://git.fedorahosted.org/git/?p=gfs2-utils.git;a=commitdiff;h=504dd45f...
Commit: 504dd45f00b185dc93f6dafbbbf6bc1991dede35
Parent: dbfbf26b90665ca30878f95b99e468d3bf2bbc3c
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Thu May 19 12:34:43 2016 +0100
Committer: Andrew Price <anprice(a)redhat.com>
CommitterDate: Thu May 19 12:34:43 2016 +0100
gfs2-utils: Don't build the testsuite script in srcdir
Build tests/testsuite in the build directory instead. This fixes 'make
distdir'.
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
tests/Makefile.am | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 1f98cb4..7bb4374 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -1,6 +1,5 @@
EXTRA_DIST = \
$(TESTSUITE_AT) \
- $(TESTSUITE) \
package.m4 \
atlocal \
atconfig
@@ -60,7 +59,7 @@ check_rgrp_CPPFLAGS = $(UNIT_CPPFLAGS)
endif
# The `:;' works around a Bash 3.2 bug when the output is not writable.
-$(srcdir)/package.m4: $(top_srcdir)/configure.ac
+package.m4: $(top_srcdir)/configure.ac
:;{ \
echo '# Signature of the current package.' && \
echo 'm4_define([AT_PACKAGE_NAME],' && \
@@ -88,7 +87,7 @@ if HAVE_CHECK
ENABLE_UNIT=yes
endif
-TESTSUITE = $(srcdir)/testsuite
+TESTSUITE = testsuite
check-local: atconfig atlocal $(TESTSUITE)
$(SHELL) '$(TESTSUITE)' ENABLE_UNIT_TESTS=$(ENABLE_UNIT) $(TOPTS)