From a2442bf90c83857c0b94d11011a689a8a6690b59 Mon Sep 17 00:00:00 2001
From: Luca Bigliardi <shammash@google.com>
Date: Mon, 31 Aug 2009 13:34:54 +0100
Subject: [PATCH] Makefile: add IPsec hook

Enable creation and dist for IPsec hook.

Signed-off-by: Luca Bigliardi <shammash@google.com>
---
 Makefile.am | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/Makefile.am b/Makefile.am
index 7999edf18..97c1463ef 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -55,6 +55,7 @@ CLEANFILES = \
 	doc/examples/bash_completion \
 	doc/examples/ganeti.initd \
 	doc/examples/ganeti.cron \
+	doc/examples/hooks/ipsec \
 	lib/*.py[co] \
 	lib/http/*.py[co] \
 	lib/hypervisor/*.py[co] \
@@ -200,6 +201,7 @@ EXTRA_DIST = \
 	doc/examples/ganeti.cron.in \
 	doc/examples/dumb-allocator \
 	doc/examples/hooks/ethers \
+	doc/examples/hooks/ipsec.in \
 	doc/locking.txt \
 	test/testutils.py \
 	test/mocks.py \
@@ -274,7 +276,8 @@ TESTS_ENVIRONMENT = \
 
 all-local: stamp-directories devel/upload \
 	doc/examples/bash_completion \
-	doc/examples/ganeti.initd doc/examples/ganeti.cron
+	doc/examples/ganeti.initd doc/examples/ganeti.cron \
+	doc/examples/hooks/ipsec
 
 devel/upload: devel/upload.in stamp-directories $(REPLACE_VARS_SED)
 	sed -f $(REPLACE_VARS_SED) < $< > $@
@@ -289,6 +292,10 @@ doc/examples/%: doc/examples/%.in stamp-directories \
 		$(REPLACE_VARS_SED)
 	sed -f $(REPLACE_VARS_SED) < $< > $@
 
+doc/examples/hooks/%: doc/examples/hooks/%.in stamp-directories \
+		$(REPLACE_VARS_SED)
+	sed -f $(REPLACE_VARS_SED) < $< > $@
+
 doc/examples/bash_completion: $(BUILD_BASH_COMPLETION) $(RUN_IN_TEMPDIR) \
 	lib/cli.py $(gnt_scripts) tools/burnin
 	PYTHONPATH=. $(RUN_IN_TEMPDIR) $(CURDIR)/$(BUILD_BASH_COMPLETION) > $@
-- 
GitLab