summaryrefslogtreecommitdiff
path: root/lib/debugger
diff options
context:
space:
mode:
authorRickard Green <rickard@erlang.org>2019-03-04 16:41:57 +0100
committerRickard Green <rickard@erlang.org>2019-03-04 16:41:57 +0100
commit05c5720845e0e2142a3b1c6e4b1e9f1e22c19a5c (patch)
tree3490fad1d27e890b9325d48519f1c11ed7cb9611 /lib/debugger
parent2052caebf9a9b8d25e1873d9c850b272a98d4680 (diff)
parentb32a929bbb287c318f44cb0ecf17716c480f11ee (diff)
downloaderlang-05c5720845e0e2142a3b1c6e4b1e9f1e22c19a5c.tar.gz
Merge 'rickard/make-fixes-21/OTP-15551' into 'rickard/make-fixes-22/OTP-15551'
* rickard/make-fixes-21/OTP-15551: Fix install phase in build system - Install of (mainly) documentation caused rebuild and modification of the source tree even when the source previously had been built. Also otp_patch_apply modified the source tree when updating documentation. This messed up the installation if installation was performed by another user than the user that originally built the system which not is an uncommon scenario. - Some documentation was installed by copying files instead of installing the files which caused faulty access rights on files. - The documentation was not properly updated when applying a patch using otp_patch_apply.
Diffstat (limited to 'lib/debugger')
-rw-r--r--lib/debugger/doc/src/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/debugger/doc/src/Makefile b/lib/debugger/doc/src/Makefile
index 56d6085e9c..49b5a4be57 100644
--- a/lib/debugger/doc/src/Makefile
+++ b/lib/debugger/doc/src/Makefile
@@ -114,8 +114,7 @@ include $(ERL_TOP)/make/otp_release_targets.mk
release_docs_spec: docs
$(INSTALL_DIR) "$(RELSYSDIR)/doc/pdf"
$(INSTALL_DATA) $(TOP_PDF_FILE) "$(RELSYSDIR)/doc/pdf"
- $(INSTALL_DIR) "$(RELSYSDIR)/doc/html"
- ($(CP) -rf $(HTMLDIR) "$(RELSYSDIR)/doc")
+ $(INSTALL_DIR_DATA) $(HTMLDIR) "$(RELSYSDIR)/doc/html"
$(INSTALL_DATA) $(INFO_FILE) "$(RELSYSDIR)"
$(INSTALL_DIR) "$(RELEASE_PATH)/man/man3"
$(INSTALL_DATA) $(MAN3DIR)/* "$(RELEASE_PATH)/man/man3"