aboutsummaryrefslogtreecommitdiffstats
path: root/lib/debugger/doc
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2019-03-04 16:28:56 +0100
committerRickard Green <[email protected]>2019-03-04 16:28:56 +0100
commit2599dcfc973d30cfdf438d4587885eda154522ab (patch)
tree04d051081cf98327778cb120ae457247eb048f35 /lib/debugger/doc
parentdb6059a9217767a6e42e93cec05089c0ec977d20 (diff)
parent565adc6d7ffb0778df06d5011ec56dc7b3eb0d2b (diff)
downloadotp-2599dcfc973d30cfdf438d4587885eda154522ab.tar.gz
otp-2599dcfc973d30cfdf438d4587885eda154522ab.tar.bz2
otp-2599dcfc973d30cfdf438d4587885eda154522ab.zip
Merge 'rickard/make-fixes-19/OTP-15551' into 'rickard/make-fixes-20/OTP-15551'
* rickard/make-fixes-19/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/doc')
-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 cc0b8861d3..6efcc36d82 100644
--- a/lib/debugger/doc/src/Makefile
+++ b/lib/debugger/doc/src/Makefile
@@ -113,8 +113,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"