diff options
author | Daniel Baumann <daniel@debian.org> | 2010-05-24 22:10:27 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 17:53:26 +0100 |
commit | 89aec45dcc392c2a3772d6eae571b87e48feee33 (patch) | |
tree | 4aabb3e10809b761dce393882a4b72bc2b1c5a64 /Makefile | |
parent | a47e683b094c749bb6c62e582ba15f26c5d21c00 (diff) | |
download | live-boot-89aec45dcc392c2a3772d6eae571b87e48feee33.tar.gz live-boot-89aec45dcc392c2a3772d6eae571b87e48feee33.zip |
Simplyfing makefile a bit.
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -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 "."; \ |