diff --git a/doc/Makefile.am b/doc/Makefile.am index 25c3b518f5..f10efd1092 100644 --- a/doc/Makefile.am +++ b/doc/Makefile.am @@ -1,54 +1,56 @@ # # doc: Pacemaker code # # Copyright (C) 2008 Andrew Beekhof # # This program is free software; you can redistribute it and/or # modify it under the terms of the GNU General Public License # as published by the Free Software Foundation; either version 2 # of the License, or (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU General Public License for more details. # # You should have received a copy of the GNU General Public License # along with this program; if not, write to the Free Software # Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. # MAINTAINERCLEANFILES = Makefile.in docdir = $(datadir)/doc/packages/@PACKAGE@ man_MANS = cibadmin.8 crm_resource.8 doc_DATA = AUTHORS COPYING COPYING.LGPL README README.hb2openais crm_cli.txt crm_fencing.txt XSLTPROC_HTML_STYLE=/opt/local/share/xsl/docbook-xsl/xhtml XSLTPROC_HTML_OPTIONS = --xinclude \ --param use.id.as.filename 1 \ --param generate.index 1 \ --param admon.graphics 1 \ --stringparam admon.graphics.path images/ \ --stringparam admon.graphics.extension .png \ --stringparam ulink.target offsite-link \ --stringparam html.stylesheet pacemaker.css \ + --stringparam toc.section.depth 1 \ --stringparam graphic.default.extension png if BUILD_HTML doc_DATA += crm_cli.html crm_fencing.html endif EXTRA_DIST = $(doc_DATA) $(man_MANS) %.html: %.txt $(ASCIIDOC) --unsafe --backend=xhtml11 $< %: %.xml - -mkdir $@ + -mkdir -p $@/images/ + cp *.png $@/images/ cp pacemaker.css $@/ xsltproc -o $@/ $(XSLTPROC_HTML_OPTIONS) $(XSLTPROC_HTML_STYLE)/chunk.xsl $< clean-local: -rm -rf pacemaker-explained