# 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.

include ../common/Makefile_v84_com

#
# WITH_HEARTBEAT is defined in Makefile_v84_com so need to be checked
# after Makefile_v84_com is included. The others are referenced in
# Makefile_v84_com_post.
#
TOPDIR = ../..

MANPAGES	= drbdsetup.8 drbd.conf.5 drbd.8 drbdadm.8 drbdmeta.8
ifeq ($(WITH_HEARTBEAT),yes)
MANPAGES	+= drbddisk.8
endif

FILES_IN_GIT_ADD = drbd.conf.xml drbd.xml drbdadm.xml drbddisk.xml \
	drbdmeta.xml drbdsetup.xml

FILES_POT = $(FILES_IN_GIT_ADD:=.pot)

FILES_REMOVE_ADD = drbdsetup_*.xml *.pot

include ../common/Makefile_v84_com_post
