summaryrefslogtreecommitdiffstats
path: root/agents/virt/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'agents/virt/Makefile.am')
-rw-r--r--agents/virt/Makefile.am31
1 files changed, 31 insertions, 0 deletions
diff --git a/agents/virt/Makefile.am b/agents/virt/Makefile.am
new file mode 100644
index 0000000..4f50c60
--- /dev/null
+++ b/agents/virt/Makefile.am
@@ -0,0 +1,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" >> $@