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: 2022-08-11
--- a/Makefile
+++ b/Makefile
@@ -48,7 +48,7 @@
 	@echo "GEN $@"
 	cp config.def.h $@
 
-version.h: config.mk .git/index
+version.h: config.mk $(wildcard .git/index)
 	@echo "GEN $@"
 	v="$$(git describe 2>/dev/null || true)"; \
 	echo "#define VERSION \"$${v:-$(VERSION)}\"" >$@
