[SCM] live-helper branch, debian-next, updated. debian/2.0_a12-1-3-gf39b277
Daniel Baumann
daniel at debian.org
Sun May 16 05:32:39 UTC 2010
The following commit has been merged in the debian-next branch:
commit f39b2778118476f22a70883a9c9d97fa98c19940
Author: Daniel Baumann <daniel at debian.org>
Date: Sun May 16 07:26:35 2010 +0200
Visually improving test target of Makefile.
diff --git a/Makefile b/Makefile
index 450fe3d..cfe0b75 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."
--
live-helper
More information about the debian-live-changes
mailing list