summaryrefslogtreecommitdiffstats
path: root/agents/virt/Makefile.am
blob: 4f50c602b434673ae933dcc016b9b7412e39a9cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
###############################################################################
###############################################################################
##
##  Copyright (C) 2009-2021 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.
##
###############################################################################
###############################################################################

MAINTAINERCLEANFILES	= Makefile.in

EXTRA_DIST		= docs/architecture.txt docs/fence_virt.txt \
			  docs/README docs/TODO include \
			  fence_virtd.service.in

SUBDIRS			= config common client server man

all-local: fence_virtd.service

clean-local:
	rm -f $(SPEC) fence_virtd.service

fence_virtd.service: fence_virtd.service.in
	SBINDIR="@sbindir@"; \
	INITCONFDIR="@initconfdir@"; \
	cat $^ > $@ ; \
	echo "EnvironmentFile=-$$INITCONFDIR/fence_virtd" >> $@ ;\
	echo "ExecStart=$$SBINDIR/fence_virtd \$$FENCE_VIRTD_ARGS" >> $@