On 8/9/06, Matthew Burgess <[EMAIL PROTECTED]> wrote:
Hi folks,

Following on from the analysis of patches I carried out, please find
attached an updated patch that prevents inetutils from installing man
pages for programs that are not going to be installed.  Note that, as
this is aimed at going upstream, it actually disables installation of
man pages for *all* programs that have been disabled even though our
instructions only disable the servers.

Probably won't be accepted upstream. See below.

Also note that I'm a makefile and autotools newbie, so this is probably
only slightly less hackish than our current patch.  Does anyone know how
to prevent `make' from descending into directories we know we don't
need?  I thought about just building up the SUBDIRS variable in the
top-level Makefile dependent on which *_BUILD variables are set.  Does
that sound feasible?

You need to provide patches to Makefile.am files since Makefile.in is
autogenerated from these. The same code could be put in the
Makefile.am's, though, since it would pass through automake. However,
I would use "ifdef" rather than "ifeq" since the variables are empty
if they aren't set.

SUBDIRS seems the better way to go. I whipped up a patch that seems to
work here. It's still hacky, though. Unfortunately, I had to put it in
Makefile.in since our autotools couldn't regenerate these old files
(autoconf-2.54, automake-1.7).

Anyways, here's the patch.

--
Dan

Attachment: inetutils-1.4.2-subdirs-1.patch
Description: Binary data

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-dev
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to