From owner-freebsd-doc@FreeBSD.ORG Wed Sep 28 11:25:12 2005 Return-Path: X-Original-To: doc@FreeBSD.org Delivered-To: freebsd-doc@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 17E7D16A41F for ; Wed, 28 Sep 2005 11:25:12 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from shrike.submonkey.net (cpc2-cdif2-3-1-cust208.cdif.cable.ntl.com [82.31.78.208]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3589A43D8B for ; Wed, 28 Sep 2005 11:24:58 +0000 (GMT) (envelope-from ceri@submonkey.net) Received: from ceri by shrike.submonkey.net with local (Exim 4.52 (FreeBSD)) id 1EKa3V-0001Q6-77 for doc@FreeBSD.org; Wed, 28 Sep 2005 12:24:57 +0100 Date: Wed, 28 Sep 2005 12:24:54 +0100 From: Ceri Davies To: doc@FreeBSD.org Message-ID: <20050928112454.GG94010@submonkey.net> Mail-Followup-To: Ceri Davies , doc@FreeBSD.org Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="3O1VwFp74L81IIeR" Content-Disposition: inline X-PGP: finger ceri@FreeBSD.org User-Agent: Mutt/1.5.9i Sender: Ceri Davies Cc: Subject: WTF? make is freaking me out X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 28 Sep 2005 11:25:12 -0000 --3O1VwFp74L81IIeR Content-Type: multipart/mixed; boundary="oj4kGyHlBMXGt3Le" Content-Disposition: inline --oj4kGyHlBMXGt3Le Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Notwithstanding whether the patches do the correct thing or not, could someone please explain to me why formats1.diff works fine, whilst formats2.diff produces: line 191: Malformed conditional (html-split =3D=3D "all") line 147: if-less endif make: fatal errors encountered -- cannot continue Please? --=20 Only two things are infinite, the universe and human stupidity, and I'm not sure about the former. -- Einstein (attrib.) --oj4kGyHlBMXGt3Le Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="formats1.diff" Content-Transfer-Encoding: quoted-printable Index: doc.docbook.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/dcvs/doc/share/mk/doc.docbook.mk,v retrieving revision 1.121 diff -u -r1.121 doc.docbook.mk --- doc.docbook.mk 23 Sep 2005 19:38:22 -0000 1.121 +++ doc.docbook.mk 28 Sep 2005 11:21:41 -0000 @@ -187,6 +187,13 @@ KNOWN_FORMATS=3D html html.tar html-split html-split.tar \ txt rtf rtf.tar ps pdf tex dvi tar pdb =20 +.for _curformat in ${FORMATS} +_cf=3D${_curformat} +.if ${_cf:L} =3D=3D "all" +FORMATS=3D ${KNOWN_FORMATS} +.endif +.endfor + CSS_SHEET?=3D ${DOC_PREFIX}/share/misc/docbook.css PDFTEX_DEF?=3D ${DOC_PREFIX}/share/web2c/pdftex.def =20 --oj4kGyHlBMXGt3Le Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="formats2.diff" Content-Transfer-Encoding: quoted-printable Index: doc.docbook.mk =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/dcvs/doc/share/mk/doc.docbook.mk,v retrieving revision 1.121 diff -u -r1.121 doc.docbook.mk --- doc.docbook.mk 23 Sep 2005 19:38:22 -0000 1.121 +++ doc.docbook.mk 28 Sep 2005 11:22:21 -0000 @@ -187,6 +187,12 @@ KNOWN_FORMATS=3D html html.tar html-split html-split.tar \ txt rtf rtf.tar ps pdf tex dvi tar pdb =20 +.for _curformat in ${FORMATS} +.if ${_curformat:L} =3D=3D "all" +FORMATS=3D ${KNOWN_FORMATS} +.endif +.endfor + CSS_SHEET?=3D ${DOC_PREFIX}/share/misc/docbook.css PDFTEX_DEF?=3D ${DOC_PREFIX}/share/web2c/pdftex.def =20 --oj4kGyHlBMXGt3Le-- --3O1VwFp74L81IIeR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDOn2GocfcwTS3JF8RAjHCAKC7sMBIVcr9pLwxgioyXLOrWWqVzQCgjtW0 i6pGfm1E/7jQdjwAqV1hBuQ= =S+Wn -----END PGP SIGNATURE----- --3O1VwFp74L81IIeR--