Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Aug 1999 14:00:54 +0200
From:      Jos Backus <Jos.Backus@nl.origin-it.com>
To:        John Baldwin <jobaldwi@vt.edu>
Cc:        freebsd-doc@freebsd.org
Subject:   Re: sgmlfmt question
Message-ID:  <19990804140054.A29443@hal.mpn.cp.philips.com>
In-Reply-To: <199908041128.HAA15149@smtp4.erols.com>; from John Baldwin on Wed, Aug 04, 1999 at 07:27:44AM -0400
References:  <19990804115545.B27306@hal.mpn.cp.philips.com> <199908041128.HAA15149@smtp4.erols.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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