aboutsummaryrefslogtreecommitdiffstats
path: root/make/otp.mk.in
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2011-06-20 16:33:46 +0200
committerHans Bolinder <[email protected]>2011-06-20 16:33:46 +0200
commitb9d8ae5aa52774ed0ce12c9d21ad7f3670c2dca1 (patch)
tree66d6fe3c4dcb15d447944c2054059c423a0d88b7 /make/otp.mk.in
parent9b9dc0d0c6aa9dc002c6581eb76b891e707a492a (diff)
parent4bd8ab6298961d564c34172c0a4d74cd08a08249 (diff)
downloadotp-b9d8ae5aa52774ed0ce12c9d21ad7f3670c2dca1.tar.gz
otp-b9d8ae5aa52774ed0ce12c9d21ad7f3670c2dca1.tar.bz2
otp-b9d8ae5aa52774ed0ce12c9d21ad7f3670c2dca1.zip
Merge branch 'hb/specs_and_types/OTP-9356' into dev
* hb/specs_and_types/OTP-9356: Add more specs and types
Diffstat (limited to 'make/otp.mk.in')
-rw-r--r--make/otp.mk.in2
1 files changed, 2 insertions, 0 deletions
diff --git a/make/otp.mk.in b/make/otp.mk.in
index a4e9dad46f..1ba74a3048 100644
--- a/make/otp.mk.in
+++ b/make/otp.mk.in
@@ -239,7 +239,9 @@ FOP = @FOP@
DOCGEN=$(ERL_TOP)/lib/erl_docgen
+ifneq (,$(findstring $(origin SPECS_ESRC),$(DUBIOUS_ORIGINS)))
SPECS_ESRC = ../../src
+endif
SPECS_EXTRACTOR=$(DOCGEN)/priv/bin/specs_gen.escript
# Extract specifications and types from Erlang source files (-spec, -type)
$(SPECDIR)/specs_%.xml: $(SPECS_ESRC)/%.erl