diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-26 11:36:00 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2017-04-28 11:11:12 +0200 |
commit | d788910fc30b78b375fc406a17e0e0c62cb1aa1b (patch) | |
tree | 90b426e3210171c373159eadcb3ebfdc33665a21 /xml/buildfile | |
parent | 112a4857e26c7116256ce745d9b7c4d17e78edd8 (diff) |
Update to use version module
Diffstat (limited to 'xml/buildfile')
-rw-r--r-- | xml/buildfile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/xml/buildfile b/xml/buildfile index fd16316..6ce4568 100644 --- a/xml/buildfile +++ b/xml/buildfile @@ -43,16 +43,19 @@ details/genx/c{ genx } \ details/genx/h{ genx } \ details/genx/doc{LICENSE README} +hxx{version}: in{version} $src_root/file{manifest} +hxx{version}: dist = true + details/genx/doc{README}@./: install = false details/genx/doc{LICENSE}@./: install = doc/GENX-LICENSE # For pre-releases use the complete version to make sure they cannot be used # in place of another pre-release or the final version. # -if $abi_prerelease - lib{studxml}: bin.lib.version = @-$version +if $version.pre_release + lib{studxml}: bin.lib.version = @"-$version.project_id" else - lib{studxml}: bin.lib.version = @-$abi_major.$abi_minor + lib{studxml}: bin.lib.version = @"-$version.major.$version.minor" # We are a mixed C/C++ library, though C is implementatio-only, kind of: we # need headers but not symbols. |