From 705132a22db68642a11deec2d886e505bfc6cb86 Mon Sep 17 00:00:00 2001 From: P. J. McDermott Date: Fri, 06 Oct 2023 11:47:06 -0400 Subject: build: Make dist-hook depend on program --- (limited to 'Makefile.am') 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 \ -- cgit v0.9.1