WTF? make is freaking me out

Hiroki Sato hrs at FreeBSD.org
Thu Sep 29 01:08:43 UTC 2005


Ceri Davies <ceri at submonkey.net> wrote
  in <20050928112454.GG94010 at submonkey.net>:

ce> Notwithstanding whether the patches do the correct thing or not, could
ce> someone please explain to me why formats1.diff works fine, whilst
ce> formats2.diff produces:
ce>
ce>   line 191: Malformed conditional (html-split == "all")
ce>   line 147: if-less endif
ce>   make: fatal errors encountered -- cannot continue
ce>
ce> Please?

 Because an iteration variable for .for (i.e. ${_curformant})
 is evaluated at the parsing phase and .if does not support
 comparison like STRING OP STRING.  Currently ${VAR} OP STRING
 or ${VAR} OP ${VAR} are allowed, and the other combinations
 (STRING OP STRING and STRING OP ${VAR}, for example) are
 not allowed.

--
| Hiroki SATO
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20050929/56bc978e/attachment.sig>


More information about the freebsd-doc mailing list