Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Mar 2002 02:12:09 -0800
From:      Murray Stokely <murray@FreeBSD.org>
To:        freebsd-doc@FreeBSD.org
Subject:   FDP and the Darwin Documentation Project
Message-ID:  <20020324101209.GE6007@freebsdmall.com>

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

--nFreZHaLTZJo0R7j
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

JFYI, I recently imported a simple build infrastructure to the Darwin
Documentation Project CVS repository.

At this point, I didn't use much of the FDP code in share/mk (the
Darwin equivalents are much simpler at this early stage), but the
makefiles are still clearly derived from the FDP work.

There is no copyright message at the top of the .mk files in
doc/share/mk, so I simply added the following text to the comments at
the top of all of the darwin files :

#
# Based on work done by the FreeBSD Documentation Project.
#      http://www.FreeBSD.org/docproj
#

The Darwin makefiles are all based on XML and XSLT toolchains.  Saxon
is used by default, but Xerces or XT can be used just as easily by
typing 'bsdmake TOOL=3DXT' or 'bsdmake TOOL=3DXERCES' instead of just
bsdmake.

There are lots of advantages to working closer with the Darwin
Documentation Project, not the least of which is improving our own
XSLT support once I get it ironed out in the Darwin repo.

Apple is paying professional tech writers to write Unix documentation
now, so we may eventually be able to share some content as well.

For the moment, my "rules of engagement" are just to add the
equivalent of "Obtained from: FreeBSD Project" in CVS messages and to
respect copyright notices.  Please let me know if you have any
additional concerns about how code is shared with the Darwin Documentation
Project (with respect to credit, or whatever..).

   Thanks,

   - Murray

----- Forwarded message from Murray Stokely <murray@cvs.opensource.apple.co=
m> -----

From: Murray Stokely <murray@cvs.opensource.apple.com>
Subject: cvs commit: Documentation/share/mk doc.docbook.mk doc.project.mk
To: cvs-log-Documentation@opensource.apple.com
Date: Sun, 24 Mar 2002 01:54:14 -0800 (PST)

murray      02/03/24 01:54:10

  Modified:    en_US.ISO8859-1/howto/kext_tutorials/hello_kext
                        hello_kext.xml
  Added:       .        Makefile
               en_US.ISO8859-1 Makefile
               en_US.ISO8859-1/howto Makefile
               en_US.ISO8859-1/howto/booting_on_x86 Makefile
               en_US.ISO8859-1/howto/building_darwin_howto Makefile
               en_US.ISO8859-1/howto/building_xnu Makefile
               en_US.ISO8859-1/howto/darwin_developer_howto Makefile
               en_US.ISO8859-1/howto/darwin_doc_howto Makefile
               en_US.ISO8859-1/howto/darwin_howto_template Makefile
               en_US.ISO8859-1/howto/kext_tutorials Makefile
               en_US.ISO8859-1/howto/kext_tutorials/about_kext Makefile
               en_US.ISO8859-1/howto/kext_tutorials/hello_debugger Makefile
               en_US.ISO8859-1/howto/kext_tutorials/hello_iokit Makefile
               en_US.ISO8859-1/howto/kext_tutorials/hello_kext Makefile
               en_US.ISO8859-1/howto/kext_tutorials/kext_dependencies
                        Makefile
               en_US.ISO8859-1/howto/kext_tutorials/packaging_kext Makefile
               en_US.ISO8859-1/howto/network_config Makefile
               share/mk doc.docbook.mk doc.project.mk
  Log:
  Add a rudimentary build infrastructure for the Documentation project.
 =20
  This allows us to turn all of the DocBook XML documents in the
  'Documentation' collection into HTML files with one of a variety of
  different XSLT processors (Saxon is used by default).
 =20
  Most of the makefile logic happens in the include file.  The
  individual makefiles are kept very simple so that we don't have to
  duplicate the same variables and targets in 30+ different directories.
 =20
  doc.project.mk is the top level include, and this file includes
  another file, doc.docbook.mk, if we are dealing with DocBook documents
  (the default).  This file includes rules for turning DocBook XML into
  a variety of different output formats with a variety of different
  tools.  The output format is specified with the 'FORMATS' variable.
  At the moment, only "html" is supported, but adding a text format
  would be trivial, and we can add PDF format support with a little more
  work depending on how FOP and PassiveTeX have matured lately.
 =20
  In the future, you should be able to type :
 =20
    bsdmake FORMATS=3D"html pdf text"
 =20
  to build HTML, PDF, and text version of all of the documents in the
  current directory (and its subdirectories, if any).
 =20
  For now, simply type 'bsdmake'.  The default directories for the
  DocBook stylesheets can be overridden with the STYLESHEET variable.  A
  complete list of the relevant variables is located in the comments at
  the top of doc.docbook.mk.  This information will migrate to the
  Darwin Doc HOWTO shortly.
 =20
  Based on work done by the FreeBSD Documentation Project.
 =20
  Reviewed by: rhayden
 =20
  Revision  Changes    Path
  1.1                  Documentation/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:05 murray Exp $
 =20
  SUBDIR =3D en_US.ISO8859-1
 =20
  DOC_PREFIX?=3D ${.CURDIR}
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:06 murray Exp $
 =20
  SUBDIR =3D howto
 =20
  DOC_PREFIX?=3D ${.CURDIR}/..
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:06 murray Exp $
 =20
  SUBDIR =3D booting_on_x86
  SUBDIR+=3D building_darwin_howto
  SUBDIR+=3D building_xnu
  SUBDIR+=3D darwin_developer_howto
  SUBDIR+=3D darwin_doc_howto
  SUBDIR+=3D darwin_howto_template
  SUBDIR+=3D kext_tutorials
  SUBDIR+=3D network_config
 =20
  DOC_PREFIX?=3D ${.CURDIR}/../..
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/booting_on_x86/M=
akefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:06 murray Exp $
  DOC?=3D	booting_on_x86
 =20
  DOC_PREFIX?=3D	../../..
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/building_darwin_=
howto/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:06 murray Exp $
  DOC?=3D	building_darwin_howto
 =20
  DOC_PREFIX?=3D	../../..
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/building_xnu/Mak=
efile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:06 murray Exp $
  DOC?=3D	building_xnu
 =20
  DOC_PREFIX?=3D	../../..
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/darwin_developer=
_howto/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:07 murray Exp $
  DOC?=3D	darwin_developer_howto
 =20
  DOC_PREFIX?=3D	../../..
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/darwin_doc_howto=
/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:07 murray Exp $
  DOC?=3D	darwin_doc_howto
 =20
  DOC_PREFIX?=3D	../../..
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/darwin_howto_tem=
plate/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:07 murray Exp $
  DOC?=3D	darwin_howto_template
 =20
  DOC_PREFIX?=3D	../../..
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/kext_tutorials/M=
akefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:07 murray Exp $
  SUBDIR=3D  about_kext
  SUBDIR+=3D hello_debugger
  SUBDIR+=3D hello_iokit
  SUBDIR+=3D hello_kext
  SUBDIR+=3D kext_dependencies
  # Broken links..
  # SUBDIR+=3D packaging_kext
 =20
  DOC_PREFIX?=3D ../../../
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/kext_tutorials/a=
bout_kext/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:08 murray Exp $
  DOC?=3D	about_kext
 =20
  DOC_PREFIX?=3D ../../../../
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/kext_tutorials/h=
ello_debugger/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:08 murray Exp $
  DOC?=3D	hello_debugger
 =20
  DOC_PREFIX?=3D ../../../../
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/kext_tutorials/h=
ello_iokit/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:08 murray Exp $
  DOC?=3D	hello_iokit
 =20
  DOC_PREFIX?=3D ../../../../
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.2       +1 -1      Documentation/en_US.ISO8859-1/howto/kext_tutorials/h=
ello_kext/hello_kext.xml
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:09 murray Exp $
  DOC?=3D	hello_kext
 =20
  DOC_PREFIX?=3D ../../../../
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/kext_tutorials/k=
ext_dependencies/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:09 murray Exp $
  DOC?=3D	kext_dependencies
 =20
  DOC_PREFIX?=3D ../../../../
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/kext_tutorials/p=
ackaging_kext/Makefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:09 murray Exp $
  DOC?=3D	packaging_kext
 =20
  DOC_PREFIX?=3D ../../../../
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/en_US.ISO8859-1/howto/network_config/M=
akefile
 =20
  Index: Makefile
  =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
  # $Id: Makefile,v 1.1 2002/03/24 09:54:10 murray Exp $
  DOC?=3D	network_config
 =20
  DOC_PREFIX?=3D	../../..
  .include "${DOC_PREFIX}/share/mk/doc.project.mk"
 =20
 =20
 =20
  1.1                  Documentation/share/mk/doc.docbook.mk
 =20
  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
  # This include file handles building and installing of DocBook
  # documentation in the Darwin Documentation Project.
  #
  # Documentation using DOCFORMAT=3Ddocbook is expected to be marked up
  # according to the DocBook DTD
  #
  # Based on work done by the FreeBSD Documentation Project.
  #      http://www.FreeBSD.org/docproj
  #
  # $Id: doc.docbook.mk,v 1.1 2002/03/24 09:54:10 murray Exp $
  #
  # ------------------------------------------------------------------------
  #
  # Document-specific variables
  #
  #       DOC             This should be set to the name of the DocBook
  #                       marked-up file, without the .xml suffix.
  #                      =20
  #                       It also determines the name of the output files -
  #                       ${DOC}.html.
  #
  #       TOOL            The XSLT or DSSSL tool used to convert the source
  #                       document into the specified output formats.
  #
  #       DOCBOOKSUFFIX   The suffix of your document, defaulting to .sgml
  #
  #       STYLESHEET      The stylesheet used to convert the document to
  #                       the specified output formats.
  #
  #       FORMATS         The required output formats for this build.
  #                       Currently, only html is supported.
  #
 =20
  DOCBOOKSUFFIX?=3D xml
  MASTERDOC?=3D     ${.CURDIR}/${DOC}.${DOCBOOKSUFFIX}
  STYLESHEET?=3D    /usr/local/sgml/docbook-xsl/html/docbook.xsl
  TOOL?=3D          SAXON
  FORMATS?=3D       html
 =20
  #
  # Look at ${FORMATS} and work out which documents need to be generated.
  # The generated files will always be named ${DOC}.format.#
  #
  # ${_docs} will be set to a list of all documents that must be made
  # up to date.
  #
  # ${CLEANFILES} is a list of files that should be removed by the "clean"
  # target. ${COMPRESS_EXT:S/^/${DOC}.${_cf}.&/ takes the COMPRESS_EXT
  # var, and prepends the filename to each listed extension, building a
  # second list of files with the compressed extensions added.
  #
 =20
 =20
 =20
  #
  # Documents should use the +=3D format to access these.
  #
 =20
 =20
  .for _curformat in ${FORMATS}
  _cf=3D${_curformat}
  .if defined(DOC)
  _docs+=3D ${DOC}.${_curformat}
  CLEANFILES+=3D ${DOC}.${_curformat}
  .endif
  .endfor
 =20
  .MAIN: all
 =20
  .if defined(DOC)
  all: ${_docs}
 =20
  clean:
  	@${RM} -f ${CLEANFILES}
  .endif
 =20
  ${DOC}.html: ${SRCS}
  .if ${TOOL} =3D=3D "SAXON"
  	${JAVA} com.icl.saxon.StyleSheet ${SAXON_OPTS} ${DOC}.${DOCBOOKSUFFIX} $=
{STYLESHEET} > ${.TARGET}
  .elif ${TOOL} =3D=3D "XT"
  	${JAVA} com.jclark.xsl.sax.Driver ${XT_OPTS} ${DOC}.${DOCBOOKSUFFIX} ${S=
TYLESHEET} > ${.TARGET}
  .elif ${TOOL} =3D=3D "XERCES"
  	${JAVA} org.apache.xalan.xslt.Process -in ${DOC}.${DOCBOOKSUFFIX} -xsl $=
{STYLESHEET} -out ${.TARGET}
  .else
  	echo "Unsupported processing tool : $(TOOL)"
  	echo "Currently, only SAXON, XT, and XERCES are supported."
  .endif
 =20
 =20
 =20
  1.1                  Documentation/share/mk/doc.project.mk
 =20
  Index: doc.project.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
  # This include file handles building and installing of DocBook
  # documentation in the Darwin Documentation Project.
  #
  # Documentation using DOCFORMAT=3Ddocbook is expected to be marked up
  # according to the DocBook DTD
  #
  # Based on work done by the FreeBSD Documentation Project.
  #      http://www.FreeBSD.org/docproj
  #
  # $Id: doc.project.mk,v 1.1 2002/03/24 09:54:10 murray Exp $
  #
  # ------------------------------------------------------------------------
  #
  # Document-specific variables
  #
  #       DOCFORMAT       The format of the source document.  Currently,
  #                       only DocBook documents are supported.
  #
  #       SRCS            The names of all the files that are needed to
  #                       build this document - This is useful if any of
  #                       them need to be generated.  Changing any file in
  #                       SRCS causes the documents to be rebuilt.
  #
 =20
  DOCFORMAT?=3D	docbook
 =20
  # Command names
  JAVA?=3D /usr/bin/java
  RM?=3D   /bin/rm
 =20
  .if ${DOCFORMAT} =3D=3D "docbook"
  .include "doc.docbook.mk"
  .else
  echo	"WARNING: Unknown documentation format : ${DOCFORMAT}"
  .endif
 =20
  .include <bsd.subdir.mk>
 =20
 =20
 =20

----- End forwarded message -----

--nFreZHaLTZJo0R7j
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (SunOS)
Comment: For info see http://www.gnupg.org

iD8DBQE8naZ4tNcQog5FH30RAi4pAJ9pdScQQxRq4/WtKq2YU+yJYjprSACfWfxO
SaK/2KbKtDt4msyRmkgmOcg=
=gkJN
-----END PGP SIGNATURE-----

--nFreZHaLTZJo0R7j--

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?20020324101209.GE6007>