aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorGravatar Alex Chernyakhovsky <achernya@google.com>2023-03-05 20:52:52 -0500
committerGravatar Alex Chernyakhovsky <achernya@mit.edu>2023-07-30 17:03:40 -0400
commit62869ae55f3a368ad18545ab6d8973bffffb239f (patch)
tree7b7d1c909c06508586193df76531bf1367282a9e /src
parentaa742478cbf30867d55fb13e0d29c5f974ce880d (diff)
Rename VERSION to VERSION.stamp
-I$(top_srcdir) is not usable on macOS due to a conflicting C++ header `version`.
Diffstat (limited to 'src')
-rw-r--r--src/include/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/Makefile.am b/src/include/Makefile.am
index bd15b83..bcc865a 100644
--- a/src/include/Makefile.am
+++ b/src/include/Makefile.am
@@ -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 \