2014-02-12 09:53:17 +00:00
|
|
|
EXTRA_DIST = do-tests make-testing ssh start-testing stop-testing \
|
2012-12-23 17:34:24 +00:00
|
|
|
testing.conf ssh_config config hosts images scripts tests \
|
2013-01-17 22:20:37 +00:00
|
|
|
README
|
2007-08-28 06:40:39 +00:00
|
|
|
|
2019-04-29 12:53:28 +00:00
|
|
|
# exclude all files ignored by Git from the tarball
|
|
|
|
dist-hook:
|
|
|
|
if git -C $(srcdir) ls-files --error-unmatch hosts > /dev/null 2>&1; then \
|
|
|
|
find $(abs_srcdir)/hosts $(abs_srcdir)/tests -print0 | \
|
|
|
|
sed -z -e "s|^$(abs_srcdir)/||" | \
|
|
|
|
git -C $(srcdir) check-ignore -z --stdin | \
|
|
|
|
xargs -0 -I{} rm -rf $(distdir)/{}; \
|
|
|
|
fi
|