summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Makefile.am8
1 files changed, 8 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am
index fa56ecf..6ebaf44 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -96,7 +96,15 @@ uninstall-hook:
rm -f "$${src}"
endif
+if ENABLE_TESTS
+if CROSS_COMPILING
dist-hook:
+else !CROSS_COMPILING
+dist-hook: atsign$(EXEEXT)
+endif !CROSS_COMPILING
+else !ENABLE_TESTS
+dist-hook:
+endif !ENABLE_TESTS
if IN_GIT
printf 'Generated file. Do not edit.\n\n' 1>'$(distdir)/ChangeLog~'
GIT_DIR='$(srcdir)/.git' git log --stat --color=never \