diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-21 16:16:23 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2017-08-21 16:16:23 +0300 |
commit | d2df9acf2686a665d1d9e296f78d25a346864850 (patch) | |
tree | c4fc509b437e70c8e50671446dd3e4c4def304c0 | |
parent | 78bcdfdb23526d89702cebcc06b36bb3c4c44256 (diff) |
Add auto-generating version file
-rw-r--r-- | buildfile | 10 |
1 files changed, 9 insertions, 1 deletions
@@ -1,7 +1,15 @@ # file : buildfile # copyright : not copyrighted - public domain -./: {*/ -build/} doc{INSTALL README} file{manifest} +./: {*/ -build/} doc{INSTALL README version} file{manifest} + +# The version file is auto-generated (by the version module) from manifest. +# Include it in distribution and don't remove when cleaning in src (so that +# clean results in a state identical to distributed). +# +doc{version}: file{manifest} +doc{version}: dist = true +doc{version}: clean = ($src_root != $out_root) # Don't install tests or the INSTALL file. # |