mirror of
https://github.com/curl/curl.git
synced 2025-09-20 02:52:48 +03:00
Revert "src/Makefile.am: avoid explicit $<"
This reverts commit 5b4cbcf11d
.
Since it broke out-of-tree builds from tarballs. See discussion in #1432
This commit is contained in:
parent
d88d054e94
commit
7c145bb2a0
|
@ -105,19 +105,21 @@ $(MANPAGE):
|
||||||
|
|
||||||
if HAVE_LIBZ
|
if HAVE_LIBZ
|
||||||
# This generates the tool_hugehelp.c file in both uncompressed and
|
# This generates the tool_hugehelp.c file in both uncompressed and
|
||||||
# compressed formats.
|
# compressed formats. $(MANPAGE) must be the first dependency so it
|
||||||
|
# can be referenced with $< which points to the correct location in
|
||||||
|
# the VPATH.
|
||||||
$(HUGE): $(MANPAGE) $(README) $(MKHELP)
|
$(HUGE): $(MANPAGE) $(README) $(MKHELP)
|
||||||
echo '#include "tool_setup.h"' > $(HUGE)
|
echo '#include "tool_setup.h"' > $(HUGE)
|
||||||
echo '#ifndef HAVE_LIBZ' >> $(HUGE)
|
echo '#ifndef HAVE_LIBZ' >> $(HUGE)
|
||||||
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
$(NROFF) $< | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
||||||
echo '#else' >> $(HUGE)
|
echo '#else' >> $(HUGE)
|
||||||
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) -c $(README) >> $(HUGE)
|
$(NROFF) $< | $(PERL) $(MKHELP) -c $(README) >> $(HUGE)
|
||||||
echo '#endif /* HAVE_LIBZ */' >> $(HUGE)
|
echo '#endif /* HAVE_LIBZ */' >> $(HUGE)
|
||||||
else # HAVE_LIBZ
|
else # HAVE_LIBZ
|
||||||
# This generates the tool_hugehelp.c file uncompressed only
|
# This generates the tool_hugehelp.c file uncompressed only
|
||||||
$(HUGE): $(MANPAGE) $(README) mkhelp.pl
|
$(HUGE): $(MANPAGE) $(README) mkhelp.pl
|
||||||
echo '#include "tool_setup.h"' > $(HUGE)
|
echo '#include "tool_setup.h"' > $(HUGE)
|
||||||
$(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
$(NROFF) $< | $(PERL) $(MKHELP) $(README) >> $(HUGE)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
else # USE_MANUAL
|
else # USE_MANUAL
|
||||||
|
|
Loading…
Reference in New Issue
Block a user