From 3fd4e3e770fbed95fd6fa2d547945ac71256339c Mon Sep 17 00:00:00 2001
From: Rickard Green
Date: Sun, 16 Feb 2014 00:54:08 +0100
Subject: Misc adjustments of OTP version
---
erts/doc/src/Makefile | 2 +-
erts/doc/src/erlang.xml | 19 +++++++++++--------
2 files changed, 12 insertions(+), 9 deletions(-)
(limited to 'erts/doc')
diff --git a/erts/doc/src/Makefile b/erts/doc/src/Makefile
index d4c6fe67d2..e8b856c3ff 100644
--- a/erts/doc/src/Makefile
+++ b/erts/doc/src/Makefile
@@ -139,7 +139,7 @@ man: $(MAN1_FILES) $(MAN3_FILES)
gifs: $(GIF_FILES:%=$(HTMLDIR)/%)
-$(INFO_FILE): $(INFO_FILE_SRC) ../../vsn.mk
+$(INFO_FILE): $(INFO_FILE_SRC) $(ERL_TOP)/make/$(TARGET)/otp.mk
sed -e 's;%RELEASE%;$(SYSTEM_VSN);' $(INFO_FILE_SRC) > $(INFO_FILE)
diff --git a/erts/doc/src/erlang.xml b/erts/doc/src/erlang.xml
index 4cf5631727..0f312fb430 100644
--- a/erts/doc/src/erlang.xml
+++ b/erts/doc/src/erlang.xml
@@ -6094,16 +6094,19 @@ ok
erlang:system_info(multi_scheduling), and
erlang:system_info(schedulers).
- otp_correction_package
- -
-
Returns a string containing the OTP correction package version
- number that currenly executing VM is part of. Note that other
- OTP applications in the system may be part of other OTP correction
- packages.
-
otp_release
-
-
Returns a string containing the OTP release number.
+ Returns a string containing the OTP release number of the
+ OTP release that the currently executing ERTS application is
+ part of.
+ As of OTP release 17, the OTP release number corresponds to
+ the major OTP version number. There is no
+ erlang:system_info() argument giving the exact OTP
+ version. This since the exact OTP version in the general case
+ is hard to determine. For more information see
+ the
+ documentation of the OTP version in the installation
+ guide.
port_parallelism
Returns the default port parallelism scheduling hint used.
--
cgit v1.2.3