fence-virt/Makefile.in

45 lines
1.2 KiB
Makefile
Raw Normal View History

###############################################################################
###############################################################################
##
## Copyright (C) 2009 Red Hat, Inc.
##
## 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.
##
###############################################################################
###############################################################################
all: fence_virtd.service
make -C config
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
make -C man install
2009-08-21 22:05:48 +04:00
clean:
make -C config clean
make -C common clean
make -C client clean
make -C server clean
rm -f fence_virtd.service
maintainer-clean:
make clean
git clean -df
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" >> $@