[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Lynx-dev] documentation build issue with e.g. -j3
From: |
Thomas Dickey |
Subject: |
Re: [Lynx-dev] documentation build issue with e.g. -j3 |
Date: |
Sun, 28 Feb 2021 07:17:59 -0500 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Sun, Feb 28, 2021 at 08:20:38AM +0100, Andreas Metzler wrote:
> Hello,
>
> if lynx is built with -j3 the generated body.html is broken since the
> $(CFG2HTML) target is not supposed to run multiple times in parallel
...I did see the comments in Debian #983209
> Suggested patch:
> -----------
> --- lynx-2.9.0dev.6.orig/makefile.in
> +++ lynx-2.9.0dev.6/makefile.in
> @@ -338,7 +338,7 @@ LYNX_URL='@HOMEPAGE_URL@release/breakout
> LYNXDOCS_URL='$(LYNX_URL)/docs/'
> LYNXHELP_URL='$(LYNX_URL)/lynx_help/'
>
> -@LYNXCFG_MAKE@$(CFG2HTML) :
> +@LYNXCFG_MAKE@$(CFG2HTML) &:
^^
That looks like a feature specific to GNU make.
Offhand, Lynx's makefiles will only use POSIX make, adding "::".
If you really need _that_, it'll have to be as a patch in the Debian package.
For reference
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/make.html
> @LYNXCFG_MAKE@ @echo 'Making htmlized lynx.cfg'
> @LYNXCFG_MAKE@ cd $(SRC_DIR) && $(MAKE_RECUR) LYReadCFG.i
> @LYNXCFG_MAKE@ @-rm -f $(CFG2HTML)
> -----------
>
> cu Andreas
>
> https://bugs.debian.org/983209
--
Thomas E. Dickey <dickey@invisible-island.net>
https://invisible-island.net
ftp://ftp.invisible-island.net
signature.asc
Description: PGP signature