aboutsummaryrefslogtreecommitdiffstats
path: root/make/otp.mk.in
diff options
context:
space:
mode:
authorHans Bolinder <[email protected]>2016-07-04 17:00:11 +0200
committerHans Bolinder <[email protected]>2016-07-07 08:39:50 +0200
commit531708281a3a2cf336dc92651ede8d9d95f331cb (patch)
treed5d77cf4a1fa0adb47a36346a89ac08af482c569 /make/otp.mk.in
parentfab6d311d90b2361b7e719ffa07a72b76826a55b (diff)
downloadotp-531708281a3a2cf336dc92651ede8d9d95f331cb.tar.gz
otp-531708281a3a2cf336dc92651ede8d9d95f331cb.tar.bz2
otp-531708281a3a2cf336dc92651ede8d9d95f331cb.zip
wx: Prepare for using Erlang types and specs
Create correct links to datatypes outside of the wx application. The added time for generating the doc/specs/specs_* files is unwelcome (they are currently not used).
Diffstat (limited to 'make/otp.mk.in')
-rw-r--r--make/otp.mk.in4
1 files changed, 3 insertions, 1 deletions
diff --git a/make/otp.mk.in b/make/otp.mk.in
index c05c499d66..3b2e1a5bba 100644
--- a/make/otp.mk.in
+++ b/make/otp.mk.in
@@ -4,7 +4,7 @@
#
# %CopyrightBegin%
#
-# Copyright Ericsson AB 1997-2013. All Rights Reserved.
+# Copyright Ericsson AB 1997-2016. All Rights Reserved.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@@ -271,6 +271,8 @@ SPECS_EXTRACTOR=$(DOCGEN)/priv/bin/specs_gen.escript
# Extract specifications and types from Erlang source files (-spec, -type)
$(SPECDIR)/specs_%.xml: $(SPECS_ESRC)/%.erl
escript $(SPECS_EXTRACTOR) $(SPECS_FLAGS) -o$(dir $@) $<
+$(SPECDIR)/specs_%.xml: $(SPECS_ESRC)/gen/%.erl
+ escript $(SPECS_EXTRACTOR) $(SPECS_FLAGS) -o$(dir $@) $<
$(MAN1DIR)/%.1: %.xml