tests/README: fix example about `make -e' usage
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 22 May 2011 17:02:27 +0000 (19:02 +0200)
committerStefano Lattarini <stefano.lattarini@gmail.com>
Sun, 22 May 2011 17:04:12 +0000 (19:04 +0200)
commitaa6883fdcf1e7f21ea81fe4745c0018a9398d43f
tree43661072ea9af88f184bd025c0c80f7629a28cea
parent82fc4d353ce941f09f16738a31fb8958d0320be2
tests/README: fix example about `make -e' usage

* tests/README (Section "Writing test cases" subsection "Do"): When
some variable is never initialized in the Makefile, `-e' is not
necessary in order to override it.  DESTDIR is such a variable: we
ensure that we do not ever initialize it.  And as such, it is quite
portable to use:
  $ make DESTDIR=/foo/bar install
and in fact, quite widely used.
So our example about when `make -e' is required, which references
the `DESTDIR' variable, is poorly chosen, if not downright wrong.
Rewrite it to use `prefix' as the overridden variable instead.
ChangeLog
tests/README