aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Makefile
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-02-14 22:57:37 +0100
committerRickard Green <[email protected]>2014-02-19 15:31:52 +0100
commitf51da9be40b578cdf386264312eb9b37d18ce778 (patch)
tree02f1416fe02c20cdfc391627cdab32cfc19ef30c /lib/Makefile
parent3fd4e3e770fbed95fd6fa2d547945ac71256339c (diff)
downloadotp-f51da9be40b578cdf386264312eb9b37d18ce778.tar.gz
otp-f51da9be40b578cdf386264312eb9b37d18ce778.tar.bz2
otp-f51da9be40b578cdf386264312eb9b37d18ce778.zip
Build documentation with bootstrap system
Enables build of documentation in source trees that has been cross built
Diffstat (limited to 'lib/Makefile')
-rw-r--r--lib/Makefile17
1 files changed, 11 insertions, 6 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 6301c882b2..4b979fc28a 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -25,10 +25,11 @@ ERTS_APPLICATIONS = stdlib sasl kernel compiler
# Then these have to be build
ERLANG_APPLICATIONS = tools test_server common_test runtime_tools \
- inets xmerl edoc erl_docgen parsetools
+ inets parsetools
# These are only build if -a is given to otp_build or make is used directly
-ALL_ERLANG_APPLICATIONS = snmp otp_mibs erl_interface asn1 jinterface \
+ALL_ERLANG_APPLICATIONS = xmerl edoc erl_docgen snmp otp_mibs erl_interface \
+ asn1 jinterface \
wx debugger reltool gs \
ic mnesia crypto orber os_mon syntax_tools \
public_key ssl observer odbc diameter \
@@ -59,10 +60,14 @@ else
else
ifdef TERTIARY_BOOTSTRAP
SUB_DIRECTORIES = snmp sasl jinterface ic syntax_tools wx
- else # Not bootstrap build
- SUB_DIRECTORIES = $(ERTS_APPLICATIONS) \
- $(ERLANG_APPLICATIONS) \
- $(EXTRA_APPLICATIONS)
+ else
+ ifdef DOC_BOOTSTRAP
+ SUB_DIRECTORIES = xmerl edoc erl_docgen
+ else # Not bootstrap build
+ SUB_DIRECTORIES = $(ERTS_APPLICATIONS) \
+ $(ERLANG_APPLICATIONS) \
+ $(EXTRA_APPLICATIONS)
+ endif
endif
endif
endif