From 83edd3a996c506b6a1988d0c68214e9a849397d8 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Thu, 23 Oct 2014 15:13:36 +0200 Subject: controller: autoconfiscate First part of converting controller to autoconf/automake solution. * .gitignore: New gitignore; autotools ignores. * Makefile.am: New file. * get_machine: Renamed to template bin/dtf-get-machine.in. * bin/dtf-get-machine.in: New template based on get_machine. * run_remote: Renamed to template bin/dtf-run-remote.in. * bin/dtf-run-remote.in: New binary template from run_remote. * build: New bootstrap like helper script (git-only). * configure.ac: New file. * etc/dtf.sh.in: Likewise. * ansible_helpers/wait-for-ssh: Renamed to libexec/dtf-wait-for-ssh. * share/dtf-controller/parse_credsfile: Reworked script for parsing OS credentials. * parse_credsfile: Moved to share/dtf-controller. * libexec/dtf-wait-for-ssh: Renamed from wait-for-ssh. * ansible/*: Moved into share/dtf-controller/ansible/*. * share/dtf-controller/ansible/vars/generated-vars.yml.in: New template file exporting configure-time variables into playbooks. --- controller/build | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100755 controller/build (limited to 'controller/build') diff --git a/controller/build b/controller/build new file mode 100755 index 0000000..a57f1b9 --- /dev/null +++ b/controller/build @@ -0,0 +1,11 @@ +#!/bin/bash + +if test ! -f Makefile; then + if test ! -f configure; then + autoreconf -vfi + fi || exit 1 + + ./configure --with-git +fi || exit 1 + +make -- cgit