2001-09-21 16:37:43 +04:00
#
2004-03-30 23:35:44 +04:00
# Copyright (C) 2001-2004 Sistina Software, Inc. All rights reserved.
# Copyright (C) 2004 Red Hat, Inc. All rights reserved.
2001-09-21 16:37:43 +04:00
#
2004-03-30 23:35:44 +04:00
# This file is part of the LVM2.
2001-09-21 16:37:43 +04:00
#
2004-03-30 23:35:44 +04:00
# This copyrighted material is made available to anyone wishing to use,
# modify, copy, or redistribute it subject to the terms and conditions
# of the GNU General Public License v.2.
2001-09-21 16:37:43 +04:00
#
2004-03-30 23:35:44 +04:00
# 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
2001-09-21 16:37:43 +04:00
srcdir = @srcdir@
top_srcdir = @top_srcdir@
VPATH = @srcdir@
2001-12-31 20:20:22 +03:00
MAN5 = lvm.conf.5
2006-08-21 16:07:03 +04:00
MAN8 = lvchange.8 lvconvert.8 lvcreate.8 lvdisplay.8 lvextend.8 lvm.8 \
2006-11-20 23:03:26 +03:00
lvmchange.8 lvmdiskscan.8 lvmdump.8 \
lvreduce.8 lvremove.8 lvrename.8 lvresize.8 lvs.8 \
2007-03-31 01:00:26 +04:00
lvscan.8 pvchange.8 pvck.8 pvcreate.8 pvdisplay.8 pvmove.8 pvremove.8 \
2005-10-31 05:37:29 +03:00
pvresize.8 pvs.8 pvscan.8 vgcfgbackup.8 vgcfgrestore.8 vgchange.8 \
vgck.8 vgcreate.8 vgconvert.8 vgdisplay.8 vgexport.8 vgextend.8 \
vgimport.8 vgmerge.8 vgmknodes.8 vgreduce.8 vgremove.8 vgrename.8 \
2003-11-14 19:17:55 +03:00
vgs.8 vgscan.8 vgsplit.8
2004-08-18 22:57:40 +04:00
MAN8CLUSTER = clvmd.8
2001-12-31 20:20:22 +03:00
MAN5DIR = ${ mandir } /man5
2001-09-21 16:37:43 +04:00
MAN8DIR = ${ mandir } /man8
2004-06-15 21:25:07 +04:00
i n c l u d e $( top_srcdir ) / m a k e . t m p l
2001-09-21 16:37:43 +04:00
2004-12-09 19:57:37 +03:00
i f n e q ( "@CLVMD@" , "none" )
2004-08-18 22:57:40 +04:00
install: install_cluster
e n d i f
2001-09-21 16:37:43 +04:00
install :
2002-01-02 17:23:10 +03:00
@echo " Installing $( MAN8) in $( MAN8DIR) "
2001-12-31 20:20:22 +03:00
@for f in $( MAN8) ; \
2001-09-21 16:37:43 +04:00
do \
2002-01-02 17:23:10 +03:00
$( RM) $( MAN8DIR) /$$ f; \
2004-04-19 17:10:06 +04:00
@INSTALL@ -D $( OWNER) $( GROUP) -m 444 $$ f $( MAN8DIR) /$$ f; \
2001-09-21 16:37:43 +04:00
done
2003-09-15 18:57:15 +04:00
@echo " Installing $( MAN5) in $( MAN5DIR) "
2001-12-31 20:20:22 +03:00
@for f in $( MAN5) ; \
do \
2002-01-02 17:23:10 +03:00
$( RM) $( MAN5DIR) /$$ f; \
2004-04-19 17:10:06 +04:00
@INSTALL@ -D $( OWNER) $( GROUP) -m 444 $$ f $( MAN5DIR) /$$ f; \
2001-12-31 20:20:22 +03:00
done
2004-08-18 22:57:40 +04:00
install_cluster :
@echo " Installing $( MAN8CLUSTER) in $( MAN8DIR) "
@for f in $( MAN8CLUSTER) ; \
do \
$( RM) $( MAN8DIR) /$$ f; \
@INSTALL@ -D $( OWNER) $( GROUP) -m 444 $$ f $( MAN8DIR) /$$ f; \
done