diff options
author | Rickard Green <[email protected]> | 2016-06-14 17:54:40 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-06-15 11:44:55 +0200 |
commit | fe63f7705b5feef0a5eb67a4c3ed47c38301788b (patch) | |
tree | cf422afe19e9796fe2f7a564fe05a122e6d2ae67 /system/doc/top/Makefile | |
parent | 701f2f8df8240ddcc83460fb4504111bea979dfa (diff) | |
download | otp-fe63f7705b5feef0a5eb67a4c3ed47c38301788b.tar.gz otp-fe63f7705b5feef0a5eb67a4c3ed47c38301788b.tar.bz2 otp-fe63f7705b5feef0a5eb67a4c3ed47c38301788b.zip |
Present OTP base version on top html documentation page
Diffstat (limited to 'system/doc/top/Makefile')
-rw-r--r-- | system/doc/top/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/system/doc/top/Makefile b/system/doc/top/Makefile index 6aa9d8d340..7f9cec540b 100644 --- a/system/doc/top/Makefile +++ b/system/doc/top/Makefile @@ -121,10 +121,11 @@ $(HTMLDIR)/index.html + $(HTMLDIR)/applications.html: $(INDEX_SCRIPT) $(TEMPLATE # Check if we are building the index from source or an installed release if test "$$RELEASE_ROOT" = "" ; then \ $(ERL) -noshell -pa $(EBIN) -s erl_html_tools top_index src $(ERL_TOP) \ - $(HTMLDIR) $(SYSTEM_VSN) -s erlang halt ;\ + $(HTMLDIR) `cat "$(ERL_TOP)/OTP_VERSION"` -s erlang halt ;\ else \ $(ERL) -noshell -pa $(EBIN) -s erl_html_tools top_index rel $(RELEASE_ROOT) \ - $(HTMLDIR) $(SYSTEM_VSN) -s erlang halt ;\ + $(HTMLDIR) `cat "$(RELEASE_ROOT)/releases/$(SYSTEM_VSN)/OTP_VERSION"` \ + -s erlang halt ;\ fi |