[Fontconfig] fontconfig: Branch 'master' - 3 commits

Adam Sampson ats at offog.org
Fri Mar 16 05:54:18 PDT 2012


tagoh at kemper.freedesktop.org (Akira TAGOH) writes:

> $< isn't supported in BSD make say.

Yes, it is -- e.g. on FreeBSD's make and Debian's pmake:

$ cat Makefile
.SUFFIXES: .foo .bar

.foo.bar:
        cat $< $< >$@
$ make hello.bar
cat hello.foo hello.foo >hello.bar

>  .sgml.txt: $(DOCS_DEPS)
> -	-rm $@
> -	$(AM_V_GEN) $(DOC2TXT) $<
> +	$(AM_V_GEN) $(RM) $@; \
> +	$(DOC2TXT) $*.sgml

That rule's wrong in GNU Make as well -- suffix rules aren't allowed to
have additional prerequisites (see the "Old-Fashioned Suffix Rules"
section of the manual).

Thanks,

-- 
Adam Sampson <ats at offog.org>                         <http://offog.org/>


More information about the Fontconfig mailing list