aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl
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/libcurl
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/libcurl')
-rw-r--r--docs/libcurl/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/libcurl/Makefile.am b/docs/libcurl/Makefile.am
index 5456ee418..2083ed652 100644
--- a/docs/libcurl/Makefile.am
+++ b/docs/libcurl/Makefile.am
@@ -99,13 +99,13 @@ libcurl-symbols.3: $(srcdir)/symbols-in-versions $(srcdir)/mksymbolsmanpage.pl
perl $(srcdir)/mksymbolsmanpage.pl < $(srcdir)/symbols-in-versions > $@
html: $(HTMLPAGES)
- cd opts; make html
+ cd opts && make html
.3.html:
$(MAN2HTML)
pdf: $(PDFPAGES)
- cd opts; make pdf
+ cd opts && make pdf
.3.pdf:
@(foo=`echo $@ | sed -e 's/\.[0-9]$$//g'`; \