File: makefile-enable-crossbuilds-from-source

package info (click to toggle)
nsxiv 31-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 484 kB
  • sloc: ansic: 4,863; makefile: 99; sh: 83
file content (16 lines) | stat: -rw-r--r-- 487 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)}\"" >$@