[SCM] live-config-staging branch, debian, updated. 68788a42d5a9fbf444d6c49586b57e7a7cae9e04
Daniel Baumann
daniel at debian.org
Sun Jul 11 22:07:34 UTC 2010
The following commit has been merged in the debian branch:
commit 68788a42d5a9fbf444d6c49586b57e7a7cae9e04
Author: Daniel Baumann <daniel at debian.org>
Date: Mon Jul 12 00:06:42 2010 +0200
Improving test targets in Makefile a bit.
diff --git a/Makefile b/Makefile
index 45a03dc..605a5a4 100644
--- a/Makefile
+++ b/Makefile
@@ -19,19 +19,24 @@ test:
@echo " done."
- @echo -n "Checking for bashisms"
-
- @if [ -x /usr/bin/checkbashisms ]; \
+ @if [ ! -x "$$(which checkbashisms 2>/dev/null)" ]; \
then \
- for SCRIPT in $(SCRIPTS); \
- do \
- checkbashisms -f -x $${SCRIPT}; \
- echo -n "."; \
- done; \
- else \
- echo "WARNING: skipping bashism test - you need to install devscripts."; \
+ echo "W: checkbashisms - command not found"; \
+ echo "I: checkbashisms can be optained from: "; \
+ echo "I: http://git.debian.org/?p=devscripts/devscripts.git"; \
+ echo "I: On Debian systems, checkbashisms can be installed with:"; \
+ echo "I: apt-get install devscripts"; \
+ exit 0; \
fi
+ @echo -n "Checking for bashisms"
+
+ @for SCRIPT in $(SCRIPTS); \
+ do \
+ checkbashisms -f -x $${SCRIPT}; \
+ echo -n "."; \
+ done
+
@echo " done."
build:
diff --git a/manpages/Makefile b/manpages/Makefile
index d8ec81a..223d977 100644
--- a/manpages/Makefile
+++ b/manpages/Makefile
@@ -23,12 +23,14 @@ build: po4a.cfg
@if [ ! -x "$$(which po4a 2>/dev/null)" ]; \
then \
echo "E: po4a - command not found"; \
- echo "I: po4a can be optained from http://po4a.alioth.debian.org/"; \
- echo "I: On Debian systems, po4a can be installed with 'apt-get install po4a'."; \
+ echo "I: po4a can be optained from:"; \
+ echo "I: http://po4a.alioth.debian.org/"; \
+ echo "I: On Debian systems, po4a can be installed with:"; \
+ echo "I: apt-get install po4a"; \
exit 1; \
fi
- po4a --keep 0 --no-backups --package-name live-config po4a.cfg
+ po4a --keep 0 --no-backups --package-name live-config-staging po4a.cfg
clean:
rm -f po/*/*.po~
--
live-config-staging
More information about the debian-live-changes
mailing list