diff options
-rwxr-xr-x | build | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -2,11 +2,14 @@ include ../source.mk +version = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ + sed 's/^.*+git\(....\)\(..\)\(..\)\.\([0-9a-f]*\).*$$/\4 (\1-\2-\3)/') + nop: build: (cd src && cmake -D CMAKE_INSTALL_PREFIX:PATH=/usr \ - -D STATIC_UBOX:BOOL=ON .) + -D STATIC_UBOX:BOOL=ON -D VERSION:STRING="$(version)" .) oh-autobuild touch $@ |