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:
committed by
Alex Chernyakhovsky
parent
aa742478cb
commit
62869ae55f
@@ -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 \
|
||||
|
||||
Reference in New Issue
Block a user