diff options
Diffstat (limited to 'build')
-rwxr-xr-x | build | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -2,11 +2,16 @@ include ../source.mk +sha_date_sed_re = ^.*[~+]git\(....\)\(..\)\(..\)\.\([0-9a-f]*\).*$$ +sha_date_sed = s/$(sha_date_sed_re)/sha=-DSHA=\4 date=-DDATE=\1-\2-\3/ +sha_date = $$(printf '%s\n' '$(OPK_SOURCE_VERSION_UPSTREAM)' | \ + sed '$(sha_date_sed)') + nop: @: build: - oh-autobuild + oh-autobuild -- $(sha_date) touch $@ install: build |