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>
Last-Update: 2019-02-22
--- a/Makefile
+++ b/Makefile
@@ -53,7 +53,7 @@
 	@echo "GEN $@"
 	cp $(srcdir)/config.def.h $@
 
-version.h: Makefile .git/index
+version.h: Makefile $(wildcard .git/index)
 	@echo "GEN $@"
 	v="$$(cd $(srcdir); git describe 2>/dev/null)"; \
 	echo "#define VERSION \"$${v:-$(version)}\"" >$@
