curl / Mailing Lists / curl-library / Single Mail

curl-library

minor issue with build

From: Michael Felt <michael_at_felt.demon.nl>
Date: Fri, 21 Apr 2017 14:17:35 +0200

The generated Makefile in ./src is not working on AIX (tried both AIX
5.3 and AIX 6.1).

I would think it should work, but sadly - it does not seem to.

Here is the "diff -u" that fixes it for me.

--- Makefile-7.54 2017-04-21 12:12:03 +0000
+++ Makefile 2017-04-21 12:14:57 +0000
@@ -2225,9 +2225,9 @@
  $(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)
  # This generates the tool_hugehelp.c file uncompressed only
  #$(HUGE): $(MANPAGE) $(README) mkhelp.pl

-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette: https://curl.haxx.se/mail/etiquette.html
Received on 2017-04-21