pcp
[Top] [All Lists]

Re: [pcp] pcp updates: container/man build fix

To: Lukas Berk <lberk@xxxxxxxxxx>
Subject: Re: [pcp] pcp updates: container/man build fix
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed, 27 Jul 2016 03:06:54 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <87mvl3x5zq.fsf@xxxxxxxxxx>
References: <87mvl3x5zq.fsf@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: h7J1KuRP9ZZCrjn9xsw6DXFOkkfq6A==
Thread-topic: pcp updates: container/man build fix
Hi Lukas,

----- Original Message -----
> [...]
>  src/include/builddefs.in |    8 +++++++-
>  5 files changed, 23 insertions(+), 2 deletions(-)

Just this final chunk confuses me ...

 INSTALL_MAN = \
-    test -z "$$MAN_PAGES" && MAN_PAGES="$(MAN_PAGES)"; \
+    test -z "$$MAN_PAGES" && MAN_PAGES="$(MAN_PAGES)" && $(HAVE_MANPAGES); \
     for d in `echo $$MAN_PAGES`; do \

The added HAVE_MANPAGES there looks like a no-op, or is it needed in some
subtle way?  (note that final && is after a variable assignment).  Is the
intent perhaps to have a separate

+    test $(HAVE_MANPAGES) || MAN_PAGES=""; \

before the "for" loop?

cheers.

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>