summaryrefslogtreecommitdiffstats
path: root/build
diff options
context:
space:
mode:
authorP. J. McDermott <pjm@nac.net>2014-03-17 03:12:11 (EDT)
committer P. J. McDermott <pjm@nac.net>2014-03-17 03:12:11 (EDT)
commitcbe84e57be763a9b91b31ea039bae60bfcd5d8b1 (patch)
tree5422b2d73ed0d6f18f62b53c469118dd707fc250 /build
parent42e422abd242639ecb5e45ea4469960794813a94 (diff)
build: Suggest version scheme for derivatives.
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/build b/build
index 46be68a..7709692 100755
--- a/build
+++ b/build
@@ -2,6 +2,8 @@
include ../macros.$(OPK_HOST_ARCH_KERNEL).mk
+# Derivatives should probably append their version to the ProteanOS version,
+# e.g. "1.0.0~2.0.0" (for a version 2.0 distribution based on ProteanOS 1.0).
version = $$(printf '%s\n' '$(OPK_SOURCE_VERSION)' | \
sed 's|\(^[0-9][0-9]*\.[0-9][0-9]*\).*$$|\1|')