Commit a2442bf9 authored by Luca Bigliardi's avatar Luca Bigliardi
Browse files

Makefile: add IPsec hook



Enable creation and dist for IPsec hook.
Signed-off-by: default avatarLuca Bigliardi <shammash@google.com>
parent d1e95dde
...@@ -55,6 +55,7 @@ CLEANFILES = \ ...@@ -55,6 +55,7 @@ CLEANFILES = \
doc/examples/bash_completion \ doc/examples/bash_completion \
doc/examples/ganeti.initd \ doc/examples/ganeti.initd \
doc/examples/ganeti.cron \ doc/examples/ganeti.cron \
doc/examples/hooks/ipsec \
lib/*.py[co] \ lib/*.py[co] \
lib/http/*.py[co] \ lib/http/*.py[co] \
lib/hypervisor/*.py[co] \ lib/hypervisor/*.py[co] \
...@@ -200,6 +201,7 @@ EXTRA_DIST = \ ...@@ -200,6 +201,7 @@ EXTRA_DIST = \
doc/examples/ganeti.cron.in \ doc/examples/ganeti.cron.in \
doc/examples/dumb-allocator \ doc/examples/dumb-allocator \
doc/examples/hooks/ethers \ doc/examples/hooks/ethers \
doc/examples/hooks/ipsec.in \
doc/locking.txt \ doc/locking.txt \
test/testutils.py \ test/testutils.py \
test/mocks.py \ test/mocks.py \
...@@ -274,7 +276,8 @@ TESTS_ENVIRONMENT = \ ...@@ -274,7 +276,8 @@ TESTS_ENVIRONMENT = \
all-local: stamp-directories devel/upload \ all-local: stamp-directories devel/upload \
doc/examples/bash_completion \ 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) devel/upload: devel/upload.in stamp-directories $(REPLACE_VARS_SED)
sed -f $(REPLACE_VARS_SED) < $< > $@ sed -f $(REPLACE_VARS_SED) < $< > $@
...@@ -289,6 +292,10 @@ doc/examples/%: doc/examples/%.in stamp-directories \ ...@@ -289,6 +292,10 @@ doc/examples/%: doc/examples/%.in stamp-directories \
$(REPLACE_VARS_SED) $(REPLACE_VARS_SED)
sed -f $(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) \ doc/examples/bash_completion: $(BUILD_BASH_COMPLETION) $(RUN_IN_TEMPDIR) \
lib/cli.py $(gnt_scripts) tools/burnin lib/cli.py $(gnt_scripts) tools/burnin
PYTHONPATH=. $(RUN_IN_TEMPDIR) $(CURDIR)/$(BUILD_BASH_COMPLETION) > $@ PYTHONPATH=. $(RUN_IN_TEMPDIR) $(CURDIR)/$(BUILD_BASH_COMPLETION) > $@
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment