Date: Wed, 17 Aug 2005 12:56:38 +0200 From: Pav Lucistnik <pav@FreeBSD.org> To: freebsd-doc@FreeBSD.org Subject: openjade autodetection patch Message-ID: <1124276198.71805.10.camel@pav.hide.vol.cz>
index | next in thread | raw e-mail
[-- Attachment #1 --]
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?= /usr/local
PREFIX?= ${LOCALBASE}
-.if !defined(OPENJADE)
-SGMLNORM?= ${PREFIX}/bin/sgmlnorm
-.else
+.if exists(${PREFIX}/bin/osgmlnorm)
SGMLNORM?= ${PREFIX}/bin/osgmlnorm
+.else
+SGMLNORM?= ${PREFIX}/bin/sgmlnorm
.endif
CATALOG?= ${PREFIX}/share/sgml/html/catalog
SGMLNORMOPTS?= -d ${SGMLNORMFLAGS} -c ${CATALOG} -D ${.CURDIR}
--
Pav Lucistnik <pav@oook.cz>
<pav@FreeBSD.org>
Fufie> snow should be on the tv and in the mountains, not here
[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)
iD8DBQBDAxfmntdYP8FOsoIRAqd2AJ0aB6k5RqMuyHvYxUzlOIGFZEjWDwCgvy2D
UVbwuvHMqztTgBbsO46WrZ8=
=H1yL
-----END PGP SIGNATURE-----
home |
help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1124276198.71805.10.camel>
