aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/tutorial
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2019-03-04 17:41:19 +0100
committerRickard Green <[email protected]>2019-03-04 17:41:19 +0100
commit939dba97deefb09289f7f983527829371bcd381b (patch)
tree3490fad1d27e890b9325d48519f1c11ed7cb9611 /system/doc/tutorial
parent2052caebf9a9b8d25e1873d9c850b272a98d4680 (diff)
parent05c5720845e0e2142a3b1c6e4b1e9f1e22c19a5c (diff)
downloadotp-939dba97deefb09289f7f983527829371bcd381b.tar.gz
otp-939dba97deefb09289f7f983527829371bcd381b.tar.bz2
otp-939dba97deefb09289f7f983527829371bcd381b.zip
Merge branch 'rickard/make-fixes-22/OTP-15551'
* rickard/make-fixes-22/OTP-15551: Fix install phase in build system
Diffstat (limited to 'system/doc/tutorial')
-rw-r--r--system/doc/tutorial/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/system/doc/tutorial/Makefile b/system/doc/tutorial/Makefile
index 5867096fc8..4c62deeffd 100644
--- a/system/doc/tutorial/Makefile
+++ b/system/doc/tutorial/Makefile
@@ -93,10 +93,9 @@ DVIPS_FLAGS +=
# ----------------------------------------------------
# Targets
# ----------------------------------------------------
-_create_dirs := $(shell mkdir -p $(HTMLDIR))
$(HTMLDIR)/%.gif: %.gif
- $(INSTALL_DATA) $< $@
+ $(CP) $< $@
docs: html
@@ -109,8 +108,8 @@ gifs: $(GIF_FILES:%=$(HTMLDIR)/%)
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 *~