strongswan/testing/Makefile.am
Boi Sletterink c6b6ad8d89 testing: Add missing css dir to distribution tarballs
Add the css dir to the EXTRA_DIST variable in the Makefile for the test
environment. This dir was missing when generating distribution tarballs.
Adding it enables successful builds of the test environment from the
dist tarballs.

Fixes: 63f35993d9fb ("testing: Use sans-serif font for test results")
Closes strongswan/strongswan#1266
2022-09-06 09:49:45 +02:00

13 lines
479 B
Makefile

EXTRA_DIST = do-tests make-testing ssh start-testing stop-testing \
testing.conf ssh_config config hosts images css scripts \
tests README
# 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