Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Sep 2005 12:24:54 +0100
From:      Ceri Davies <ceri@submonkey.net>
To:        doc@FreeBSD.org
Subject:   WTF? make is freaking me out
Message-ID:  <20050928112454.GG94010@submonkey.net>

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

--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--



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