components/visual-panels/core/src/doc/Makefile.doc
changeset 827 0944d8c0158b
equal deleted inserted replaced
826:c6aad84d2493 827:0944d8c0158b
       
     1 #
       
     2 # CDDL HEADER START
       
     3 #
       
     4 # The contents of this file are subject to the terms of the
       
     5 # Common Development and Distribution License (the "License").
       
     6 # You may not use this file except in compliance with the License.
       
     7 #
       
     8 # You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
       
     9 # or http://www.opensolaris.org/os/licensing.
       
    10 # See the License for the specific language governing permissions
       
    11 # and limitations under the License.
       
    12 #
       
    13 # When distributing Covered Code, include this CDDL HEADER in each
       
    14 # file and include the License file at usr/src/OPENSOLARIS.LICENSE.
       
    15 # If applicable, add the following below this CDDL HEADER, with the
       
    16 # fields enclosed by brackets "[]" replaced with your own identifying
       
    17 # information: Portions Copyright [yyyy] [name of copyright owner]
       
    18 #
       
    19 # CDDL HEADER END
       
    20 #
       
    21 
       
    22 #
       
    23 # Copyright (c) 2010, 2012, Oracle and/or its affiliates. All rights reserved.
       
    24 #
       
    25 
       
    26 include $(SRC)/make-rules/Makefile.env
       
    27 
       
    28 # The location of the DocBook XSL stylesheets to use.  Most systems
       
    29 # should provide a catalog which automatically maps from the
       
    30 # DOCBOOK_XSL URL to a local path.
       
    31 
       
    32 DOCBOOK_XSL=	http://docbook.sourceforge.net/release/xsl/current
       
    33 
       
    34 STYLESHEET=	profile-docbook.xsl
       
    35 FO_XSL=		$(DOCBOOK_XSL)/fo/$(STYLESHEET)
       
    36 HTML_XSL=	$(DOCBOOK_XSL)/html/$(STYLESHEET)
       
    37 MAN_XSL=	$(DOCBOOK_XSL)/manpages/$(STYLESHEET)
       
    38 
       
    39 # The sections of the documentation that make comments intended for an
       
    40 # internal audience are given a status of "private".  Setting STATUS to
       
    41 # something other than "private" will cause those sections to be
       
    42 # eliminated from the generated output.
       
    43 
       
    44 STATUS=	private
       
    45 DBOPTS=	\
       
    46 	--stringparam funcsynopsis.style "ansi" \
       
    47 	--stringparam man.authors.section.enabled 0 \
       
    48 	--stringparam section.autolabel 1 \
       
    49 	--stringparam section.label.includes.component.label 1 \
       
    50 	--stringparam segmentedlist.as.table 1 \
       
    51 	--stringparam profile.status "$(STATUS)"
       
    52 
       
    53 # We assume xsltproc, xmllint, and Apache fop are all in the user's
       
    54 # path.
       
    55 
       
    56 XSLTPROC=	xsltproc --xinclude --nonet
       
    57 XMLLINT=	xmllint --xinclude --postvalid --noout
       
    58 
       
    59 DBXSLTPROC=	$(XSLTPROC) $(DBOPTS)
       
    60 FOP=		fop
       
    61 
       
    62 # Commands
       
    63 
       
    64 XSLT.man = $(DBXSLTPROC) $(MAN_XSL) $<