--=-UjkAgP+QMBBa4gYBYf0k
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Would anyone object to the attached patch? It automates the task of
setting SGMLNORM to openjade's equivalent for people who can't or don't
want to install jade.
As a side-effect it changes the behaviour for people who have both jade
and openjade installed. Is that a problem?
RCS file: /home/dcvs/www/share/mk/web.site.mk,v
retrieving revision 1.65
diff -a -u -r1.65 web.site.mk
--- web.site.mk 1 Mar 2005 23:04:59 -0000 1.65
+++ web.site.mk 17 Aug 2005 07:26:15 -0000
@@ -50,10 +50,10 @@
LOCALBASE?=3D /usr/local
PREFIX?=3D ${LOCALBASE}
-.if !defined(OPENJADE)
-SGMLNORM?=3D ${PREFIX}/bin/sgmlnorm
-.else
+.if exists(${PREFIX}/bin/osgmlnorm)
SGMLNORM?=3D ${PREFIX}/bin/osgmlnorm
+.else
+SGMLNORM?=3D ${PREFIX}/bin/sgmlnorm
.endif
CATALOG?=3D ${PREFIX}/share/sgml/html/catalog
SGMLNORMOPTS?=3D -d ${SGMLNORMFLAGS} -c ${CATALOG} -D ${.CURDIR}
--=20
Pav Lucistnik <pav@oook.cz>
<pav@FreeBSD.org>
Fufie> snow should be on the tv and in the mountains, not here
--=-UjkAgP+QMBBa4gYBYf0k
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQBDAxfmntdYP8FOsoIRAqd2AJ0aB6k5RqMuyHvYxUzlOIGFZEjWDwCgvy2D
UVbwuvHMqztTgBbsO46WrZ8=
=H1yL
-----END PGP SIGNATURE-----
--=-UjkAgP+QMBBa4gYBYf0k--