On Mon, 2021-06-28 at 10:39 +0200, lisa-as...@perso.be wrote: > Have the following makefile and want to have an easy way to build > "*rfc.texi" files using "make rfc".
Do you mean, "build PDFs for all the *rfc.texi files"? In that case just: rfc: $(rfc:.texi=.pdf) will do it. Add rfc to your .PHONY target for cleanliness. > pdfs := $(tfiles:.texi=.pdf) You didn't show us the definition of tfiles; the makefile you posted won't actually do anything.