| 1 |
# |
| 2 |
# heartbeat: Linux-HA heartbeat code |
| 3 |
# |
| 4 |
# Copyright (C) 2001 Michael Moerz |
| 5 |
# |
| 6 |
# This program is free software; you can redistribute it and/or |
| 7 |
# modify it under the terms of the GNU General Public License |
| 8 |
# as published by the Free Software Foundation; either version 2 |
| 9 |
# of the License, or (at your option) any later version. |
| 10 |
# |
| 11 |
# This program is distributed in the hope that it will be useful, |
| 12 |
# but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 13 |
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 14 |
# GNU General Public License for more details. |
| 15 |
# |
| 16 |
# You should have received a copy of the GNU General Public License |
| 17 |
# along with this program; if not, write to the Free Software |
| 18 |
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
| 19 |
# |
| 20 |
MAINTAINERCLEANFILES = Makefile.in hb_report.xml ha_logd.xml ha_logger.xml stonith.xml meatclient.xml |
| 21 |
|
| 22 |
CLEANFILES = $(man_MANS) |
| 23 |
|
| 24 |
SUBDIRS = stonith |
| 25 |
|
| 26 |
hanoarchdir = $(datadir)/heartbeat |
| 27 |
|
| 28 |
man_MANS = |
| 29 |
|
| 30 |
if BUILD_DOC |
| 31 |
man_MANS += hb_report.8 ha_logd.8 ha_logger.1 stonith.8 meatclient.8 |
| 32 |
|
| 33 |
EXTRA_DIST = $(man_MANS) |
| 34 |
|
| 35 |
STYLESHEET_PREFIX ?= http://docbook.sourceforge.net/release/xsl/current |
| 36 |
MANPAGES_STYLESHEET ?= $(STYLESHEET_PREFIX)/manpages/docbook.xsl |
| 37 |
HTML_STYLESHEET ?= $(STYLESHEET_PREFIX)/xhtml/docbook.xsl |
| 38 |
FO_STYLESHEET ?= $(STYLESHEET_PREFIX)/fo/docbook.xsl |
| 39 |
|
| 40 |
XSLTPROC_OPTIONS ?= --xinclude |
| 41 |
XSLTPROC_MANPAGES_OPTIONS ?= $(XSLTPROC_OPTIONS) |
| 42 |
XSLTPROC_HTML_OPTIONS ?= $(XSLTPROC_OPTIONS) |
| 43 |
XSLTPROC_FO_OPTIONS ?= $(XSLTPROC_OPTIONS) |
| 44 |
|
| 45 |
%.5 %.8 %.1: %.xml |
| 46 |
$(XSLTPROC) \ |
| 47 |
$(XSLTPROC_MANPAGES_OPTIONS) \ |
| 48 |
$(MANPAGES_STYLESHEET) $< |
| 49 |
|
| 50 |
hb_report.8: hb_report.8.txt |
| 51 |
a2x -f manpage $< |
| 52 |
|
| 53 |
endif |