summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2017-04-19 23:11:44 +0200
committerDaniel Stenberg <daniel@haxx.se>2017-04-19 23:11:44 +0200
commit5b4cbcf11d5100ff793a8e9edbaa6fe1fc7495f5 (patch)
tree8db386935460fd1bbef34d0ad91073a02032da05
parentd957e2189fdc73cef0ff3d1fb58043d354754449 (diff)
downloadcurl-5b4cbcf11d5100ff793a8e9edbaa6fe1fc7495f5.tar.gz
src/Makefile.am: avoid explicit $<
... since apparently "BSD make" doesn't support it. Reported-by: Thomas Klausner Fixes #1432
-rw-r--r--src/Makefile.am10
1 files changed, 4 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index b59fb8786..f4e88a04b 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -105,21 +105,19 @@ $(MANPAGE):
if HAVE_LIBZ
# This generates the tool_hugehelp.c file in both uncompressed and
-# compressed formats. $(MANPAGE) must be the first dependency so it
-# can be referenced with $< which points to the correct location in
-# the VPATH.
+# compressed formats.
$(HUGE): $(MANPAGE) $(README) $(MKHELP)
echo '#include "tool_setup.h"' > $(HUGE)
echo '#ifndef HAVE_LIBZ' >> $(HUGE)
- $(NROFF) $< | $(PERL) $(MKHELP) $(README) >> $(HUGE)
+ $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
echo '#else' >> $(HUGE)
- $(NROFF) $< | $(PERL) $(MKHELP) -c $(README) >> $(HUGE)
+ $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) -c $(README) >> $(HUGE)
echo '#endif /* HAVE_LIBZ */' >> $(HUGE)
else # HAVE_LIBZ
# This generates the tool_hugehelp.c file uncompressed only
$(HUGE): $(MANPAGE) $(README) mkhelp.pl
echo '#include "tool_setup.h"' > $(HUGE)
- $(NROFF) $< | $(PERL) $(MKHELP) $(README) >> $(HUGE)
+ $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
endif
else # USE_MANUAL