patsubst in Makefile.am (was: Re: r127 - trunk/doc)
Peter Palfrader
peter@palfrader.org
Thu, 25 Mar 2004 11:34:20 +0100
--QRj9sO5tAVLaXnSD
Content-Type: text/plain; charset=iso-8859-15
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
On Thu, 25 Mar 2004, Joost van Baal wrote:
> 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-noroo=
t.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?
>=20
> I'm afraid so, the make(1) manpage on my OpenBSD 3.4 system doesn't
> mention patsubst.
Changed back :/
Peter
--=20
PGP signed and encrypted | .''`. ** Debian GNU/Linux **
messages preferred. | : :' : The universal
| `. `' Operating System
http://www.palfrader.org/ | `- http://www.debian.org/
--QRj9sO5tAVLaXnSD
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)
iD8DBQFAYrWrz/ccs6+kS90RAtFvAJwP2hABB1Bv5hBQBvqLsuw4sW2pvQCdG8UT
XE0DMbfMEq9vpYyq82EWFGg=
=pOTy
-----END PGP SIGNATURE-----
--QRj9sO5tAVLaXnSD--