trans-coord-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

report target bug


From: Kaloian Doganov
Subject: report target bug
Date: Thu, 06 Mar 2008 08:04:35 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gNewSense gnu/linux)

Yavor Doganov <address@hidden> writes:

    (report): Demote the `error' function in the make conditionals to a
    `warning' as a quick workaround for the snafu introduced in the
    previous change.

Isn't the following a better solution?


--- GNUmakefile 5 Mar 2008 22:30:14 -0000       1.7
+++ GNUmakefile 6 Mar 2008 05:56:24 -0000
@@ -350,10 +350,10 @@
 .PHONY: report
 report: 
 ifndef TEAM
-$(warning Please specify a language code, for example TEAM=fr)
+       $(error Please specify a language code, for example TEAM=fr)
 endif
 ifneq ($(TEAM),$(findstring $(TEAM),$(sort $(GENERIC_LINGUAS))))
-$(warning There are no translations for language "$(TEAM)")
+       $(error There are no translations for language "$(TEAM)")
 endif
        @cd $(rootdir) ; LC_ALL=C find -name '*.$(TEAM).po' -printf "%p: " \
          -exec msgfmt --statistics -o /dev/null '{}' \; 2>&1 \




reply via email to

[Prev in Thread] Current Thread [Next in Thread]