Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2001 10:59:39 +0100
From:      Nik Clayton <nik@freebsd.org>
To:        Chris Costello <chris@calldei.com>
Cc:        doc@FreeBSD.org
Subject:   Re: Problem with (and solution for) CSS on www.FreeBSD.org
Message-ID:  <20010714105939.E35484@clan.nothing-going-on.org>
In-Reply-To: <20010713223004.C5855@holly.calldei.com>; from chris@calldei.com on Fri, Jul 13, 2001 at 10:30:04PM -0500
References:  <20010713223004.C5855@holly.calldei.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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

On Fri, Jul 13, 2001 at 10:30:04PM -0500, Chris Costello wrote:
>    And I'm sure anybody else with an automated build similar to
> this will have such a problem.  A new docbook.css should be
> copied into the object/current directory each time the document
> is built.  The Handbook on http://www.FreeBSD.org/ is still using
> the nasty revision 1.1 of docbook.css, and should be replaced.
> Anybody have any comments on this patch?  I'd like to commit it
> soon so we can get a decent-looking online Handbook.

<snip>

> +#
> +# Always consider the docbook.css target out-of-date, so the latest vers=
ion
> +# of the stylesheet is always installed.
> +#
> +
> +.PHONY: docbook.css
> +
>  docbook.css:
>  	cp ${CSS_SHEET} ${.CURDIR}/docbook.css

Could we not do

    docbook.css: ${CSS_SHEET}

instead?  That way, if you've got local modifications to the stylesheet
in the current directory (perhaps you're testing something), they get
blown away at the first opportunity.  But the 'official' sheet will
still be preferred if it's more up to date.

N
--=20
FreeBSD: The Power to Serve             http://www.freebsd.org/
FreeBSD Documentation Project           http://www.freebsd.org/docproj/

          --- 15B8 3FFC DDB4 34B0 AA5F  94B7 93A8 0764 2C37 E375 ---

--KlAEzMkarCnErv5Q
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (FreeBSD)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjtQGAsACgkQk6gHZCw343WcYQCeMf672e0qZ5L7520jDfzKc3to
HCkAnii4DA9iWzXC5sjIFrvtDQQC0Kiw
=GCeP
-----END PGP SIGNATURE-----

--KlAEzMkarCnErv5Q--

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010714105939.E35484>