[SCM] live-boot branch, debian-next, updated. debian/2.0_a1-1-2-g965268c
Daniel Baumann
daniel at debian.org
Mon May 24 20:16:43 UTC 2010
The following commit has been merged in the debian-next branch:
commit 965268c91426b41ec41664b25fdc97ce2a58841d
Author: Daniel Baumann <daniel at debian.org>
Date: Mon May 24 22:10:27 2010 +0200
Simplyfing makefile a bit.
diff --git a/Makefile b/Makefile
index 1018daf..eadd5d7 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,14 @@ SHELL := sh -e
LANGUAGES = de
+SCRIPTS = bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*
+
all: test build
test:
@echo -n "Checking for syntax errors"
- @for SCRIPT in bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*; \
+ @for SCRIPT in $(SCRIPTS); \
do \
sh -n $${SCRIPT}; \
echo -n "."; \
@@ -22,7 +24,7 @@ test:
@# We can't just fail yet on bashisms (FIXME)
@if [ -x /usr/bin/checkbashisms ]; \
then \
- for SCRIPT in bin/* hooks/* scripts/live scripts/live-functions scripts/live-helpers scripts/*/*; \
+ for SCRIPT in $(SCRIPTS); \
do \
checkbashisms $${SCRIPT} || true; \
echo -n "."; \
--
live-boot
More information about the debian-live-changes
mailing list