2009-07-28 18:46:53 +04:00
###############################################################################
###############################################################################
##
2009-09-23 20:04:32 +04:00
## Copyright (C) 2009 Red Hat, Inc.
2009-07-28 18:46:53 +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.
##
###############################################################################
###############################################################################
2012-02-07 22:43:35 +04:00
all : fence_virtd .service
2009-08-18 00:53:58 +04:00
make -C config
2009-07-28 18:46:53 +04:00
make -C common
make -C client
make -C server
2009-08-21 22:05:48 +04:00
install :
make -C config install
make -C client install
make -C server install
2009-12-04 22:54:28 +03:00
make -C man install
2009-08-21 22:05:48 +04:00
2009-07-28 18:46:53 +04:00
clean :
2009-08-18 00:53:58 +04:00
make -C config clean
2009-07-28 18:46:53 +04:00
make -C common clean
make -C client clean
make -C server clean
2012-02-07 22:43:35 +04:00
rm -f fence_virtd.service
2009-07-28 18:46:53 +04:00
2009-09-17 22:15:14 +04:00
maintainer-clean :
make clean
git clean -df
2012-02-07 22:43:35 +04:00
fence_virtd.service : fence_virtd .service .in
# Expand macros and add to unit file
SBINDIR = "@sbindir@" ; \
SCDIR = "@sysconfdir@" ; \
cat $^ > $@ ; \
echo " EnvironmentFile=- $$ SCDIR/sysconfig/fence_virtd " >> $@ ; \
echo " ExecStart= $$ SBINDIR/fence_virtd \$ $FENCE_VIRTD_ARGS " >> $@