summaryrefslogtreecommitdiffstats
path: root/tests/Makefile.in
diff options
context:
space:
mode:
Diffstat (limited to 'tests/Makefile.in')
-rw-r--r--tests/Makefile.in10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/Makefile.in b/tests/Makefile.in
index b699b10..18b8c26 100644
--- a/tests/Makefile.in
+++ b/tests/Makefile.in
@@ -26,6 +26,9 @@ SH = @sh@
TESTS = ob_match_arch ob_parse_dep ob_reduce_deps
+distdir = ../$(package_name)-$(package_version)/tests
+distfiles = Makefile.in common.sh
+
test:
@all=0; failed=0; \
for test in $(TESTS); do \
@@ -52,3 +55,10 @@ test:
done; \
printf '\n'; \
exit $${failed}
+
+$(distdir):
+ @mkdir -p '$(distdir)'
+ @cp -pR $(distfiles) '$(distdir)'
+ @for test in $(TESTS); do \
+ cp -p "$${test}.sh" "$${test}.rc" '$(distdir)'; \
+ done