mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-01 04:23:24 +00:00
Suppress the "/bin/sh: 1: cannot open version.h: No such file" noise.
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
6a29da800b
commit
eb3376d612
1 changed files with 2 additions and 1 deletions
3
Makefile
3
Makefile
|
@ -28,7 +28,8 @@ XSLTFILES = xslt/*.xslt
|
|||
VERSION_FILE = version.h
|
||||
# There's only one line in $(VERSION_FILE); use the shell builtin `read'
|
||||
STORED_VERSION_STRING = \
|
||||
$(subst ",,$(shell read ignore ignore v <$(VERSION_FILE) && echo $$v))
|
||||
$(subst ",,$(shell [ ! -r $(VERSION_FILE) ] || \
|
||||
read ignore ignore v <$(VERSION_FILE) && echo $$v))
|
||||
#" workaround editor syntax highlighting quirk
|
||||
|
||||
UNAME := $(shell $(CC) -dumpmachine 2>&1 | grep -E -o "linux|darwin|win")
|
||||
|
|
Loading…
Add table
Reference in a new issue