From: Iustin Pop Date: Mon, 29 Oct 2012 11:49:38 +0000 (+0100) Subject: Ship and install all hooks and their data X-Git-Tag: v0.12~5 X-Git-Url: http://git.equinoxoli.org/?p=ext%2Finstance-debootstrap.git;a=commitdiff_plain;h=31ca0c96bfee38f2662a5fb017ff760884f4bc02 Ship and install all hooks and their data Currently, we have just a few hooks shipped, but none are installed. This patch adds automake rules for installing all hooks and their config data in the right directories (but they will still need to be activated by the admin). This fixes issue 283. Signed-off-by: Iustin Pop Reviewed-by: Guido Trotter --- diff --git a/Makefile.am b/Makefile.am index 077fc35..1a8c763 100644 --- a/Makefile.am +++ b/Makefile.am @@ -10,9 +10,24 @@ os_DATA = common.sh dist_doc_DATA = COPYING NEWS README -EXTRA_DIST = common.sh.in defaults \ +exampledir = $(docdir)/examples +exampleconfdir = $(exampledir)/confdata + +dist_exampleconf_DATA = \ + examples/hooks/confdata/defaultpasswords \ + examples/hooks/confdata/timezone + +dist_example_DATA = \ + examples/hooks/defaultpasswords \ examples/hooks/grub \ - examples/hooks/interfaces + examples/hooks/hosts \ + examples/hooks/interfaces \ + examples/hooks/ssh-keys \ + examples/hooks/timezone + +EXTRA_DIST = \ + common.sh.in \ + defaults do_subst = sed \ -e 's,[@]sysconfdir[@],$(sysconfdir),g' \