On FreeBSD, NetBSD, and AIX, with the platform's 'make' program (which is good enough for building many GNU packages, even as a VPATH build), I get this build failure:
$ make ... GEN font/devpdf/DESC GEN font/devpdf/Foundry make: don't know how to make ./shdeps.sed. Stop The reason is that the Makefile contains a rule for 'shdeps.sed', however, the targets 'chem', 'glilypond', 'gperl' etc. depend on $(SH_DEPS_SED_SCRIPT), which expands to './shdeps.sed'. Changing arch/misc/misc.am shdeps.sed: $(top_srcdir)/$(arch_shdeps_sh) -> ./shdeps.sed: $(top_srcdir)/$(arch_shdeps_sh) fixes the problem.