Rename VERSION to VERSION.stamp

-I$(top_srcdir) is not usable on macOS due to a conflicting C++ header
 `version`.
This commit is contained in:
Alex Chernyakhovsky
2023-03-05 20:52:52 -05:00
committed by Alex Chernyakhovsky
parent aa742478cb
commit 62869ae55f
5 changed files with 13 additions and 12 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ nodist_INCLUDES = version.h
clean-local:
@rm -rf version.h
version.h: ../../VERSION
version.h: ../../VERSION.stamp
@test -s $<
@printf '#define BUILD_VERSION "%s"\n' "$$(cat $<)" > $@.new
@set -e; if ! diff -q $@ $@.new > /dev/null 2>&1; then \