Subject: Adding example auto scripts.

From: Ben Armstrong <[email-masked]>
Date: Sat, 27 Nov 2010 18:48:13 -0400

---
 Makefile             | 2 +-
 examples/auto/build  | 3 +++
 examples/auto/clean  | 5 +++++
 examples/auto/config | 5 +++++
 4 files changed, 14 insertions(+), 1 deletion(-)
 create mode 100755 examples/auto/build
 create mode 100755 examples/auto/clean
 create mode 100755 examples/auto/config

diff --git a/Makefile b/Makefile
index aeb8318..39807b8 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@ SHELL := sh -e
 
 LANGUAGES = de
 
-SCRIPTS = cgi/* functions/* examples/*/*.sh scripts/*.sh scripts/*/*
+SCRIPTS = cgi/* functions/* examples/*/*.sh examples/auto/* scripts/*.sh scripts/*/*
 
 all: test build
 
diff --git a/examples/auto/build b/examples/auto/build
new file mode 100755
index 0000000..34956c1
--- /dev/null
+++ b/examples/auto/build
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+lb build noauto "${@}" 2>&1 | tee binary.log
diff --git a/examples/auto/clean b/examples/auto/clean
new file mode 100755
index 0000000..436f52d
--- /dev/null
+++ b/examples/auto/clean
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+lb clean noauto "${@}"
+rm -f config/binary config/bootstrap config/chroot config/common config/source
+rm -f binary.log
diff --git a/examples/auto/config b/examples/auto/config
new file mode 100755
index 0000000..e67a471
--- /dev/null
+++ b/examples/auto/config
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+lb config noauto \
+	--packages-lists "standard" \
+	"${@}"
-- 
cgit v1.0