bug-make
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: "make -jN" requires mechanical changes to a Makefile


From: Paul Smith
Subject: Re: "make -jN" requires mechanical changes to a Makefile
Date: Sun, 12 May 2019 14:49:22 -0400
User-agent: Evolution 3.30.1-1build1

On Sun, 2019-05-12 at 18:07 +0200, Bruno Haible wrote:
> This workaround doesn't actually work (in the actual case of GNU gettext):
> it fails the "make distcheck" verification.
> 
> The real workaround goes like this:
> 
> ===================================================
> all : copy1 copy2 copy3 copy4
> 
> copy1: Makefile
>         install -c -m 644 Makefile copy1
>         install -c -m 644 Makefile copy2
>         install -c -m 644 Makefile copy3
>         install -c -m 644 Makefile copy4
> copy2 copy3 copy4: copy1
> ===================================================

This is not fully-correct either:

  $ make
  install -c -m 644 Makefile copy1
  install -c -m 644 Makefile copy2
  install -c -m 644 Makefile copy3
  install -c -m 644 Makefile copy4

  $ rm copy3

  $ make
  make: Nothing to be done for 'all'.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]