Description: Fix FTCBFS: uses the wrong compiler
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=922939
Author: Helmut Grohne <helmut@subdivi.de>
Forwarded: not-needed
Last-Update: 2026-04-08
--- a/Makefile
+++ b/Makefile
@@ -42,7 +42,7 @@
 	@echo "GEN $@"
 	cp config.def.h $@
 
-version.h: config.mk .git/index
+version.h: config.mk $(wildcard .git/index)
 	@v="$$(git describe 2>/dev/null || true)"; \
 	payload=$$(printf '#define VERSION "%s"' "$${v:-$(VERSION)}"); \
 	if ! printf '%s\n' "$$payload" | cmp -s - "$@" 2>/dev/null; then \
