Skip to content
Snippets Groups Projects
Commit d8530b6d authored by Pekka Enberg's avatar Pekka Enberg
Browse files

build: Force version.h regeneration


Force version.h generation to make sure the version number matches the
git version.  I noticed the problem after tagging v0.05-rc1 and noticing
that OSv happily reported the same version even after applying patches.

Use the special ".PHONY" target suggested by Tomek to avoid breakage
from previous attempt that is documented in commit 996fdfde ('Revert
"build: Force version.h generation"').

Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 0f9bf9b6
No related branches found
No related tags found
No related merge requests found
......@@ -687,6 +687,7 @@ gen/include/bits/alltypes.h: $(src)/include/api/x86_64/bits/alltypes.h.sh
gen/include/osv/version.h: $(src)/scripts/gen-version-header
$(call quiet, sh $(src)/scripts/gen-version-header $@, GEN $@)
.PHONY: gen/include/osv/version.h
$(src)/build.mk: $(generated-headers)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment