diff options
author | Alex Chernyakhovsky <achernya@google.com> | 2023-03-05 20:52:52 -0500 |
---|---|---|
committer | Alex Chernyakhovsky <achernya@mit.edu> | 2023-07-30 17:03:40 -0400 |
commit | 62869ae55f3a368ad18545ab6d8973bffffb239f (patch) | |
tree | 7b7d1c909c06508586193df76531bf1367282a9e /scripts | |
parent | aa742478cbf30867d55fb13e0d29c5f974ce880d (diff) |
Rename VERSION to VERSION.stamp
-I$(top_srcdir) is not usable on macOS due to a conflicting C++ header
`version`.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/Makefile.am | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/Makefile.am b/scripts/Makefile.am index 5ce9ea0..1f0f656 100644 --- a/scripts/Makefile.am +++ b/scripts/Makefile.am @@ -4,7 +4,7 @@ if BUILD_CLIENT endif CLEANFILES = $(bin_SCRIPTS) -mosh: mosh.pl ../VERSION Makefile +mosh: mosh.pl ../VERSION.stamp Makefile perl -Mdiagnostics -c $(srcdir)/mosh.pl - @sed -e "s/\@VERSION\@/`cat ../VERSION`/" -e "s/\@PACKAGE_STRING\@/@PACKAGE_STRING@/" $(srcdir)/mosh.pl > mosh + @sed -e "s/\@VERSION\@/`cat ../VERSION.stamp`/" -e "s/\@PACKAGE_STRING\@/@PACKAGE_STRING@/" $(srcdir)/mosh.pl > mosh @chmod a+x mosh |