aboutsummaryrefslogtreecommitdiffstats
path: root/make/otp_release_targets.mk
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2018-04-06 17:09:04 +0200
committerLukas Larsson <[email protected]>2018-04-10 14:07:59 +0200
commit63eef4c488c46d3b4957fbbf155158f1af8180ed (patch)
treec28e26065d384d2b641e1bbfea1a37ab5d354105 /make/otp_release_targets.mk
parentec7be0d6f6ccff9aaae0f1bd0461812c898e13e9 (diff)
downloadotp-63eef4c488c46d3b4957fbbf155158f1af8180ed.tar.gz
otp-63eef4c488c46d3b4957fbbf155158f1af8180ed.tar.bz2
otp-63eef4c488c46d3b4957fbbf155158f1af8180ed.zip
erl_docgen: Fix ghlinks to .xmlsrc
Diffstat (limited to 'make/otp_release_targets.mk')
-rw-r--r--make/otp_release_targets.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/make/otp_release_targets.mk b/make/otp_release_targets.mk
index 9a6384af59..5ba025d98b 100644
--- a/make/otp_release_targets.mk
+++ b/make/otp_release_targets.mk
@@ -40,7 +40,11 @@ _create_xml_dirs := $(shell mkdir -p $(XMLDIR))
XML_GEN_FILES+=$(patsubst %.xml,$(XMLDIR)/%.xml,$(XML_FILES))
$(XMLDIR)/%.xml: %.xml
- $(gen_verbose)escript $(DOCGEN)/priv/bin/github_link.escript $^ \
+ $(gen_verbose)escript $(DOCGEN)/priv/bin/github_link.escript $< \
+ "$(subst $(ERL_TOP)/,,$(CURDIR)/$^)" "$(shell git rev-parse HEAD)" $@
+
+$(XMLDIR)/%.xmlsrc: %.xmlsrc
+ $(gen_verbose)escript $(DOCGEN)/priv/bin/github_link.escript $< \
"$(subst $(ERL_TOP)/,,$(CURDIR)/$^)" "$(shell git rev-parse HEAD)" $@
ifeq ($(TOPDOC),)