[SCM] live-config branch, debian-next, updated. debian/2.0_a1-1-6-gda517f4

Daniel Baumann daniel at debian.org
Thu May 27 20:44:40 UTC 2010


The following commit has been merged in the debian-next branch:
commit 536e3188b1bcb380bb127476fc1392c483fb1627
Author: Daniel Baumann <daniel at debian.org>
Date:   Mon May 24 22:09:41 2010 +0200

    Simplyfing makefile a bit.

diff --git a/Makefile b/Makefile
index a7d2b52..91a01fc 100644
--- a/Makefile
+++ b/Makefile
@@ -4,12 +4,14 @@ SHELL := sh -e
 
 LANGUAGES = de
 
+SCRIPTS = examples/scripts/* scripts/config.sh scripts/config/*
+
 all: test build
 
 test:
 	@echo -n "Checking for syntax errors"
 
-	@for SCRIPT in examples/scripts/* scripts/config.sh scripts/config/*; \
+	@for SCRIPT in $(SCRIPTS); \
 	do \
 		sh -n $${SCRIPT}; \
 		echo -n "."; \
@@ -21,7 +23,7 @@ test:
 
 	@if [ -x /usr/bin/checkbashisms ]; \
 	then \
-		for SCRIPT in examples/scripts/* scripts/config.sh scripts/config/*; \
+		for SCRIPT in $(SCRIPTS); \
 		do \
 			checkbashisms $${SCRIPT}; \
 			echo -n "."; \

-- 
live-config



More information about the debian-live-changes mailing list