[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [gnurl] 56/205: build: fixed making man page in out-of-tree
From: |
gnunet |
Subject: |
[GNUnet-SVN] [gnurl] 56/205: build: fixed making man page in out-of-tree tarball builds |
Date: |
Thu, 20 Apr 2017 16:19:56 +0200 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to annotated tag gnurl-7.54.0
in repository gnurl.
commit b1dc45a82202f6e106a6ea2d834f001d46b8fc82
Author: Dan Fandrich <address@hidden>
AuthorDate: Thu Mar 9 22:45:40 2017 +0100
build: fixed making man page in out-of-tree tarball builds
The man page taken from the release package is found in a different
location than if it's built from source. It must be referenced as $< in
the rule to get its correct location in the VPATH.
---
src/Makefile.am | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git a/src/Makefile.am b/src/Makefile.am
index 19bab68ac..03c5e2c12 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -106,19 +106,21 @@ $(MANPAGE):
if HAVE_LIBZ
# This generates the tool_hugehelp.c file in both uncompressed and
-# compressed formats
-$(HUGE): $(README) $(MANPAGE) mkhelp.pl
+# 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)
echo '#include "tool_setup.h"' > $(HUGE)
echo '#ifndef HAVE_LIBZ' >> $(HUGE)
- $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
+ $(NROFF) $< | $(PERL) $(MKHELP) $(README) >> $(HUGE)
echo '#else' >> $(HUGE)
- $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) -c $(README) >> $(HUGE)
+ $(NROFF) $< | $(PERL) $(MKHELP) -c $(README) >> $(HUGE)
echo '#endif /* HAVE_LIBZ */' >> $(HUGE)
else # HAVE_LIBZ
# This generates the tool_hugehelp.c file uncompressed only
-$(HUGE): $(README) $(MANPAGE) mkhelp.pl
+$(HUGE): $(MANPAGE) $(README) mkhelp.pl
echo '#include "tool_setup.h"' > $(HUGE)
- $(NROFF) $(MANPAGE) | $(PERL) $(MKHELP) $(README) >> $(HUGE)
+ $(NROFF) $< | $(PERL) $(MKHELP) $(README) >> $(HUGE)
endif
else # USE_MANUAL
--
To stop receiving notification emails like this one, please contact
address@hidden
- [GNUnet-SVN] [gnurl] 28/205: CMake: Add DarwinSSL support, (continued)
- [GNUnet-SVN] [gnurl] 28/205: CMake: Add DarwinSSL support, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 34/205: BINDINGS: add Scilab binding, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 40/205: ares: Curl_resolver_wait_resolv: clear *entry first in function, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 07/205: docs: de-duplicate file lists in the Makefiles, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 18/205: checksrc.bat: Ignore curl_config.h.in, curl_config.h, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 44/205: Makefile.am: Remove distribution man pages when running 'make clean', gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 38/205: KNOWN_BUGS: Add DarwinSSL won't import PKCS#12 without a password, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 54/205: polarssl: fixed compile errors introduced in 6448f98c, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 50/205: RELEASE-NOTES: synced with 6888a670aa01, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 23/205: tests: fixed a typo in some comments, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 56/205: build: fixed making man page in out-of-tree tarball builds,
gnunet <=
- [GNUnet-SVN] [gnurl] 36/205: URL: return error on malformed URLs with junk after port number, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 63/205: url: don't compile detect_proxy if HTTP support is disabled, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 49/205: MANPAGE: clarify the dash situation in meta data, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 37/205: test1260: removed errant XML tag, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 42/205: updatemanpages.pl: Update man pages to use current date and versions, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 57/205: tls-max.d: added to the makefile, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 47/205: test1260: added http as a required feature, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 67/205: tests: fix the authretry tests, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 60/205: ISSUE_TEMPLATE: for bugs, ask questions on the mailing list, gnunet, 2017/04/20
- [GNUnet-SVN] [gnurl] 65/205: curl_easy_reset: Also reset the authentication state, gnunet, 2017/04/20