[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Man-db-devel] [PATCH] Fix parallel building by using pattern rules
From: |
Nikola Forró |
Subject: |
Re: [Man-db-devel] [PATCH] Fix parallel building by using pattern rules in makefiles |
Date: |
Tue, 22 Sep 2015 16:07:09 +0200 |
Colin Watson píše v Po 21. 09. 2015 v 22:07 +0100:
> Unfortunately, it's my understanding that some people rely on being
> able
> to build man-db with non-GNU versions of make which don't support
> pattern rules. Automake supports this provided that you don't ignore
> its warnings, which indeed are treated as errors in man-db's tree so
> you
> must have gone to some special effort to ignore them, or perhaps just
> not run ./autogen.sh
Sorry, my autotools skills are not very good, I was testing the patch
on tarball release, and I didn't run autogen.sh.
> Could you please try this patch to man/Rules.man instead (and either
> run
> autoreconf -fi, or propagate the same patch to man/{,*/}Makefile.in
> if
> for some reason you can't do that)? I think it should handle this
> without either needing to resort to pattern rules or trying to use
> prerequisites with suffix rules, which as you rightly point out is
> invalid.
Your solution seems to resolve the problem as well, so there is really
no need for pattern rules.
Regards,
Nikola