1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56
|
# Makefile in documentation directory
#
# This file is part of DRBD by Philipp Reisner and Lars Ellenberg.
#
# drbd 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, or (at your option)
# any later version.
#
# drbd 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 drbd; see the file COPYING. If not, write to
# the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
#
# WITH_DRBDMON is defined in Makefile_v9_com so need to be checked
# after Makefile_v9_com is included. The others are referenced in
# Makefile_v9_com_post.
#
TOPDIR = ../..
include $(TOPDIR)/documentation/common/Makefile_v9_com
MANPAGES = drbdsetup.8 drbd.conf.5 drbd.8 drbdadm.8 drbdmeta.8
MANPAGES += ocf_linbit_drbd.7
MANPAGES += ocf_linbit_drbd-attr.7
ifeq ($(WITH_DRBDMON), yes)
MANPAGES += drbdmon.8
endif
ADOC_MANPAGES :=
ADOC_MANPAGES += drbd-lvchange@.service.adoc
ADOC_MANPAGES += drbd-promote@.service.adoc
ADOC_MANPAGES += drbd-reconfigure-suspend-or-error@.service.adoc
ADOC_MANPAGES += drbd-services@.target.adoc
ADOC_MANPAGES += drbd-wait-promotable@.service.adoc
ADOC_MANPAGES += drbd.service.adoc
ADOC_MANPAGES += drbd@.service.adoc
ADOC_MANPAGES += drbd@.target.adoc
ADOC_MANPAGES += ocf.ra@.service.adoc
MANPAGES += $(patsubst %.adoc,%.7,$(ADOC_MANPAGES))
FILES_IN_GIT_ADD = drbd.conf.xml.in drbd.xml \
drbdadm.xml drbdmeta.xml drbdsetup-options.xml \
drbdsetup.xml.in drbdmon.xml
FILES_POT = $(FILES_IN_GIT_ADD:=.pot)
FILES_REMOVE_ADD = drbdsetup_*.xml *.pot
include $(TOPDIR)/documentation/common/Makefile_v9_com_post
|