Hi,

I wrote:
> The workaround is to introduce an intermediate target:
> 
> ===================================================
> all : copy1 copy2 copy3 copy4
> 
> copy1 copy2 copy3 copy4: install-copies
> .PHONY: install-copies
> install-copies: 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
> ===================================================

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
===================================================

Bruno


_______________________________________________
Bug-make mailing list
Bug-make@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-make

Reply via email to