2573N/A# The contents of this file are subject to the terms of the 2573N/A# Common Development and Distribution License (the "License"). 2573N/A# You may not use this file except in compliance with the License. 2573N/A# See the License for the specific language governing permissions 2573N/A# and limitations under the License. 2573N/A# When distributing Covered Code, include this CDDL HEADER in each 2573N/A# If applicable, add the following below this CDDL HEADER, with the 2573N/A# fields enclosed by brackets "[]" replaced with your own identifying 2573N/A# information: Portions Copyright [yyyy] [name of copyright owner] 2573N/A# Copyright (c) 2011, Oracle and/or its affiliates. All rights reserved. 2573N/A# A simple Makefile to build the dev-guide. 2585N/A# $ make book (makes the pdf using rst2pdf) 2585N/A# $ make xmlbook (makes docbook using rst2docbook) 2585N/A# $ make check (makes pdfs from each book fragment) 2585N/A# Note: in order for the pdf to build, we need to have 2573N/A# set this to make the build to ignore errors in RST documents. 2585N/A# XXX unused at present - unsure if rst2docbook is correct, or whether we want 2585N/A# to go to the docutils xml, then apply XSLT et al to get to docbook instead. 2585N/A# For now, $RST2DOCBOOK gets used. 2585N/A# when building the pdf book, we add specific options here 2573N/A# our version of docutils doesn't work with rst2pdf at the moment, so we need 2573N/A# tries to build all fragments, then builds the book itself 2573N/A # and concatenate into a single file, to render our book 2585N/A @
# XXX this is ugly, but means we get to reuse the %.pdf & %.xml targets 2573N/A# convenience targets to build a single fragment