aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/reference_manual/Makefile
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2019-03-04 16:41:57 +0100
committerRickard Green <[email protected]>2019-03-04 16:41:57 +0100
commit05c5720845e0e2142a3b1c6e4b1e9f1e22c19a5c (patch)
tree3490fad1d27e890b9325d48519f1c11ed7cb9611 /system/doc/reference_manual/Makefile
parent2052caebf9a9b8d25e1873d9c850b272a98d4680 (diff)
parentb32a929bbb287c318f44cb0ecf17716c480f11ee (diff)
downloadotp-05c5720845e0e2142a3b1c6e4b1e9f1e22c19a5c.tar.gz
otp-05c5720845e0e2142a3b1c6e4b1e9f1e22c19a5c.tar.bz2
otp-05c5720845e0e2142a3b1c6e4b1e9f1e22c19a5c.zip
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 'system/doc/reference_manual/Makefile')
-rw-r--r--system/doc/reference_manual/Makefile5
1 files changed, 2 insertions, 3 deletions
diff --git a/system/doc/reference_manual/Makefile b/system/doc/reference_manual/Makefile
index d034ad2ff8..809eb2c979 100644
--- a/system/doc/reference_manual/Makefile
+++ b/system/doc/reference_manual/Makefile
@@ -84,7 +84,6 @@ DVIPS_FLAGS +=
# ----------------------------------------------------
# Targets
# ----------------------------------------------------
-_create_dirs := $(shell mkdir -p $(HTMLDIR))
docs: html
@@ -95,8 +94,8 @@ html: $(GIF_FILES) $(HTML_UG_FILE)
debug opt:
clean clean_docs:
- rm -rf $(HTMLDIR)
- rm -rf $(XMLDIR)
+ rm -f $(XMLDIR)/*.xml
+ rm -f $(HTMLDIR)/*.gif $(HTMLDIR)/*.html
rm -f $(TOP_PDF_FILE) $(TOP_PDF_FILE:%.pdf=%.fo)
rm -f errs core *~