2009-07-28 10:46:53 -04:00
###############################################################################
###############################################################################
##
2009-09-23 12:04:32 -04:00
## Copyright (C) 2009 Red Hat, Inc.
2009-07-28 10: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 13:43:35 -05:00
all : fence_virtd .service
2009-08-17 16:53:58 -04:00
make -C config
2009-07-28 10:46:53 -04:00
make -C common
make -C client
make -C server
2009-08-21 14:05:48 -04:00
install :
make -C config install
make -C client install
make -C server install
2009-12-04 14:54:28 -05:00
make -C man install
2009-08-21 14:05:48 -04:00
2009-07-28 10:46:53 -04:00
clean :
2009-08-17 16:53:58 -04:00
make -C config clean
2009-07-28 10:46:53 -04:00
make -C common clean
make -C client clean
make -C server clean
2012-02-07 13:43:35 -05:00
rm -f fence_virtd.service
2009-07-28 10:46:53 -04:00
2009-09-17 14:15:14 -04:00
maintainer-clean :
make clean
git clean -df
2012-02-07 13:43:35 -05: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 " >> $@