Makefile: add IPsec hook
authorLuca Bigliardi <shammash@google.com>
Mon, 31 Aug 2009 12:34:54 +0000 (13:34 +0100)
committerLuca Bigliardi <shammash@google.com>
Wed, 2 Sep 2009 11:05:40 +0000 (12:05 +0100)
Enable creation and dist for IPsec hook.

Signed-off-by: Luca Bigliardi <shammash@google.com>

Makefile.am

index 7999edf..97c1463 100644 (file)
@@ -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) > $@