Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 6 Nov 2001 08:35:54 -0800
From:      Murray Stokely <murray.stokely@windriver.com>
To:        Peter Pentchev <roam@ringlet.net>
Cc:        Murray Stokely <murray@FreeBSD.org>, doc@FreeBSD.org
Subject:   Re: TIDYFLAGS fixes all around the tree
Message-ID:  <20011106083554.W1818@windriver.com>
In-Reply-To: <20011106125323.E10023@straylight.oblivion.bg>; from roam@ringlet.net on Tue, Nov 06, 2001 at 12:53:25PM %2B0200
References:  <20011105175820.D77919@straylight.oblivion.bg> <20011105124156.D10872@windriver.com> <20011106125323.E10023@straylight.oblivion.bg>

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

--0IvGJv3f9h+YhkrH
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Nov 06, 2001 at 12:53:25PM +0200, Peter Pentchev wrote:
> Okay, so I was working from an 8-9 hours' old tree.  Still, maybe
> I'm being dumb, but I do not really see the point of the fix you
> committed.  It definitely does not fix the problem I reported,
> as seen by:
>=20
> [roam@straylight:v4 ~/fbsd/r/doc/ru_RU.KOI8-R/articles/explaining-bsd]$ m=
ake -V TIDYFLAGS
> -latin1
>=20
> As you can see, still no -m :(

[amd] /usr/doc/ru_RU.KOI8-R/articles/explaining-bsd> make TIDYFLAGS=3D-lati=
n1
[ jade output snipped ]
/usr/local/bin/tidy -i -m -f /dev/null -latin1 article.html
Can't open "/export/home/murray/.tidyrc"
*** Error code 1 (ignored)

Seems to be working now. =20

TIDYFLAGS is the user settable variable for additional flags to tidy,
while 'TIDYOPTS' is the internal makefile variable for the complete
set of flags to tidy.

TIDYOPTS=3D <defaults> ${TIDYFLAGS}

> As I already said, I do not see the point of 'VAR?=3D blah ${VAR}'.

TIDY?=3D          ${PREFIX}/bin/tidy
TIDYOPTS?=3D      -i -m -f /dev/null ${TIDYFLAGS}

This is not a case of VAR?=3D blah ${VAR}.  It is a case of B?=3D bla ${A}

> This statement only ever changes the value of VAR if VAR *is not set*.
> In that case, ${VAR} is empty, and VAR is set to 'blah'.  If VAR is
> already set, then this statement will have absolutely no effect :)

  I agree.  If you find a case like that in our makefiles, please fix
it. ;)

    - Murray

--0IvGJv3f9h+YhkrH
Content-Type: application/pgp-signature
Content-Disposition: inline

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

iD8DBQE76BFptNcQog5FH30RAoRUAJ0WOS+GDc3PbxpriRL4osKXzzoShQCfXzAh
2cvgbQL68QUrfKEUWJKzmoY=
=zZ1K
-----END PGP SIGNATURE-----

--0IvGJv3f9h+YhkrH--

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?20011106083554.W1818>