summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-05-23 12:26:15 +0200
committerDaniel Baumann <daniel@debian.org>2010-05-23 12:26:15 +0200
commit7b9c32e8f089668a12f8f58d289b7a6016c503be (patch)
treee15095761840e7d94a46a0a74298872757e6e2f1 /Makefile
parent9c079219303654d027e0c48e5e1dfb685d60d95f (diff)
downloadvyos-live-build-7b9c32e8f089668a12f8f58d289b7a6016c503be.tar.gz
vyos-live-build-7b9c32e8f089668a12f8f58d289b7a6016c503be.zip
Visually improving test target of Makefile.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 17 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 450fe3d3c..9896dd3ec 100644
--- a/Makefile
+++ b/Makefile
@@ -4,23 +4,34 @@ SHELL := sh -e
LANGUAGES = de
-all: test install
+all: test build
test:
- # Checking for syntax errors
- for SCRIPT in live-helper.sh cgi/* functions/* examples/*/*.sh helpers/* hooks/*; \
+ @echo -n "Checking for syntax errors"
+
+ @for SCRIPT in live-helper.sh cgi/* functions/* examples/*/*.sh helpers/* hooks/*; \
do \
sh -n $${SCRIPT}; \
+ echo -n "."; \
done
- # Checking for bashisms
- if [ -x /usr/bin/checkbashisms ]; \
+ @echo " done."
+
+ @echo -n "Checking for bashisms"
+
+ @if [ -x /usr/bin/checkbashisms ]; \
then \
- checkbashisms live-helper.sh functions/* examples/*/*.sh helpers/* hooks/*; \
+ for SCRIPT in live-helper.sh functions/* examples/*/*.sh helpers/* hooks/*; \
+ do \
+ checkbashisms $${SCRIPT}; \
+ echo -n "."; \
+ done; \
else \
echo "WARNING: skipping bashism test - you need to install devscripts."; \
fi
+ @echo " done."
+
build:
@echo "Nothing to build."