aboutsummaryrefslogtreecommitdiffstats
path: root/system/doc/tutorial/Makefile
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2019-03-04 17:45:46 +0100
committerRickard Green <[email protected]>2019-03-04 17:45:46 +0100
commit445e1e5825c63176112580c2724fb5510bd9bd8e (patch)
tree7050d56706dc0a7dd329875968d4bc61315d8786 /system/doc/tutorial/Makefile
parent3e52ed2a13a9cf56edac6d0635f18e348465a66e (diff)
parentb32a929bbb287c318f44cb0ecf17716c480f11ee (diff)
downloadotp-445e1e5825c63176112580c2724fb5510bd9bd8e.tar.gz
otp-445e1e5825c63176112580c2724fb5510bd9bd8e.tar.bz2
otp-445e1e5825c63176112580c2724fb5510bd9bd8e.zip
Merge branch 'rickard/make-fixes-21/OTP-15551' into maint
* rickard/make-fixes-21/OTP-15551: Fix install phase in build system
Diffstat (limited to 'system/doc/tutorial/Makefile')
-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 *~