aboutsummaryrefslogtreecommitdiff
path: root/docs/Makefile.am
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2015-11-19 22:23:11 +0000
committerDaniel Stenberg <daniel@haxx.se>2015-11-20 00:25:42 +0100
commit80562083da0b51d594fe9765b079eefdd3ba87b7 (patch)
treec994eef82828c935b85e9550befcbe4421f19e03 /docs/Makefile.am
parentff8d352ae944d1f7f5941e42a2dd4cc8d23df5d0 (diff)
build: Fix theoretical infinite loops
Add error-checking to 'cd' in a few cases where omitting the checks might result in an infinite loop. Closes #535
Diffstat (limited to 'docs/Makefile.am')
-rw-r--r--docs/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Makefile.am b/docs/Makefile.am
index a6cf165d8..5822ad224 100644
--- a/docs/Makefile.am
+++ b/docs/Makefile.am
@@ -45,10 +45,10 @@ MAN2HTML= roffit < $< >$@
SUFFIXES = .1 .html .pdf
html: $(HTMLPAGES)
- cd libcurl; make html
+ cd libcurl && make html
pdf: $(PDFPAGES)
- cd libcurl; make pdf
+ cd libcurl && make pdf
.1.html:
$(MAN2HTML)