patsubst in Makefile.am (was: Re: r127 - trunk/doc)

Joost van Baal joostvb@mdcc.cx
Thu, 25 Mar 2004 11:28:15 +0100


--bWEb1MG/o7IKOlQF
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 25, 2004 at 11:25:30AM +0100, Peter Palfrader wrote:
> On Thu, 25 Mar 2004, Joost van Baal wrote:
>=20
> > On Thu, Mar 25, 2004 at 03:14:55AM -0700, Peter Palfrader wrote:
> > > +PODFILES =3D ca-bot.pod ca-bot-noroot.pod ca-config.pod
> > > +PODTXTFILES =3D $(patsubst %.pod,%.txt,$(PODFILES))
> > > =20
> > > -doc_DATA =3D ca-bot.txt ca-bot.html ca-bot-noroot.txt ca-bot-noroot.=
html cabot-micro-howto.txt ca-config.txt ca-config.html
> > > +doc_DATA =3D cabot-micro-howto.txt $(PODTXTFILES) $(PODHTMLFILES)
> >=20
> > I'm afraid this will break on systems using non-GNU Make.
> >=20
> > (I don't have a better solution :(  )
>=20
> *sigh*  Does this include the BSDs or not?

I'm afraid so, the make(1) manpage on my OpenBSD 3.4 system doesn't
mention patsubst.

Bye,

Joost


--bWEb1MG/o7IKOlQF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: Digital signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFAYrQ/Bgac8paUV/ARAjRPAKCFyTv325Bh8NWVRHR+nmWWsronCgCeJH2B
0V2D+qG81XsE8kwIVF1Z1/Y=
=vxQL
-----END PGP SIGNATURE-----

--bWEb1MG/o7IKOlQF--