Re: Bug with SCCS Suffix Rules

2020-02-19 Thread Paul Smith
On Wed, 2020-02-19 at 17:56 +0100, Jerome Reybert wrote: > I am facing what to seem to be a bug in Gnu make, since at least make > 3.82, and still present in 4.2.1. I'm not sure why your subject mentions SCCS suffix rules, but there is a built-in rule that knows how to convert from a foo.sh to fo

Bug with SCCS Suffix Rules

2020-02-19 Thread Jerome Reybert
I am facing what to seem to be a bug in Gnu make, since at least make 3.82, and still present in 4.2.1. Consider the following Makefile -- FILES := cat cat.sh prefix := /foo INSTALLED_FILES := $(patsubst %,$(prefix)/%,$(FILES)) all: $(INSTALLED_FILES) $(INSTALLED_FILES): $(prefix)/% : %     @ec