From owner-freebsd-doc Wed Aug 4 5: 2:37 1999 Delivered-To: freebsd-doc@freebsd.org Received: from gw-nl3.philips.com (gw-nl3.philips.com [192.68.44.35]) by hub.freebsd.org (Postfix) with ESMTP id DC85F1536B for ; Wed, 4 Aug 1999 05:02:28 -0700 (PDT) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-nl1.philips.com (localhost.philips.com [127.0.0.1]) by gw-nl3.philips.com with ESMTP id OAA12573 for ; Wed, 4 Aug 1999 14:00:35 +0200 (MEST) (envelope-from Jos.Backus@nl.origin-it.com) Received: from smtprelay-eur1.philips.com(130.139.36.3) by gw-nl3.philips.com via mwrap (4.0a) id xma012567; Wed, 4 Aug 99 14:00:35 +0200 Received: from hal.mpn.cp.philips.com (hal.mpn.cp.philips.com [130.139.64.195]) by smtprelay-nl1.philips.com (8.9.3/8.8.5-1.2.2m-19990317) with SMTP id OAA29852 for ; Wed, 4 Aug 1999 14:00:32 +0200 (MET DST) Received: (qmail 30462 invoked by uid 666); 4 Aug 1999 12:00:54 -0000 Date: Wed, 4 Aug 1999 14:00:54 +0200 From: Jos Backus To: John Baldwin Cc: freebsd-doc@freebsd.org Subject: Re: sgmlfmt question Message-ID: <19990804140054.A29443@hal.mpn.cp.philips.com> Reply-To: Jos Backus References: <19990804115545.B27306@hal.mpn.cp.philips.com> <199908041128.HAA15149@smtp4.erols.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <199908041128.HAA15149@smtp4.erols.com>; from John Baldwin on Wed, Aug 04, 1999 at 07:27:44AM -0400 Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org On Wed, Aug 04, 1999 at 07:27:44AM -0400, John Baldwin wrote: > sgmlfmt is used with LinuxDoc, not with DocBook. Use jade with DocBook. > Actually, it's much easier to just include docproj.docbook.mk from > doc/share/mk and set a few variables. OK. I now use hal:~/doc/sgml% cat Makefile INSTALL_COMPRESSED=0 INSTALL_ONLY_COMPRESSED=0 MAINTAINER= jos@hal FORMATS= html DOC= test SRCS= test.sgml .include "/usr/doc/share/mk/docproj.docbook.mk" and that seems to work. By the way, when the optional variables INSTALL_COMPRESSED and INSTALL_ONLY_COMPRESSED are not set the following happens: hal:~/doc/sgml% make "/usr/doc/share/mk/docproj.docbook.mk", line 186: Malformed conditional (!empty(INSTALL_COMPRESSED)) "/usr/doc/share/mk/docproj.docbook.mk", line 197: if-less endif "/usr/doc/share/mk/docproj.docbook.mk", line 197: Need an operator "/usr/doc/share/mk/docproj.docbook.mk", line 339: Malformed conditional (empty(INSTALL_ONLY_COMPRESSED)) "/usr/doc/share/mk/docproj.docbook.mk", line 339: Missing dependency operator "/usr/doc/share/mk/docproj.docbook.mk", line 341: if-less endif "/usr/doc/share/mk/docproj.docbook.mk", line 341: Need an operator make: fatal errors encountered -- cannot continue hal:~/doc/sgml% Thanks for your help! -- Jos Backus _/ _/_/_/ "Reliability means never _/ _/ _/ having to say you're sorry." _/ _/_/_/ -- D. J. Bernstein _/ _/ _/ _/ Jos.Backus@nl.origin-it.com _/_/ _/_/_/ use Std::Disclaimer; To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-doc" in the body of the message