Makefile.am 484 B

123456789101112
  1. EXTRA_DIST = do-tests make-testing ssh start-testing stop-testing \
  2. testing.conf ssh_config config hosts images scripts tests \
  3. README
  4. # exclude all files ignored by Git from the tarball
  5. dist-hook:
  6. if git -C $(srcdir) ls-files --error-unmatch hosts > /dev/null 2>&1; then \
  7. find $(abs_srcdir)/hosts $(abs_srcdir)/tests -print0 | \
  8. sed -z -e "s|^$(abs_srcdir)/||" | \
  9. git -C $(srcdir) check-ignore -z --stdin | \
  10. xargs -0 -I{} rm -rf $(distdir)/{}; \
  11. fi