[csw-devel] SF.net SVN: gar:[7014] csw/mgar/gar/v2/category.mk

dmichelsen at users.sourceforge.net dmichelsen at users.sourceforge.net
Thu Oct 29 14:47:23 CET 2009


Revision: 7014
          http://gar.svn.sourceforge.net/gar/?rev=7014&view=rev
Author:   dmichelsen
Date:     2009-10-29 13:47:23 +0000 (Thu, 29 Oct 2009)

Log Message:
-----------
mGAR v2: Fix error message on unknown categories

Modified Paths:
--------------
    csw/mgar/gar/v2/category.mk

Modified: csw/mgar/gar/v2/category.mk
===================================================================
--- csw/mgar/gar/v2/category.mk	2009-10-29 13:39:34 UTC (rev 7013)
+++ csw/mgar/gar/v2/category.mk	2009-10-29 13:47:23 UTC (rev 7014)
@@ -2,8 +2,8 @@
 # This makefile is to be included from Makefiles in each category
 # directory.
 
-ifeq (,$(CATEGORIES))
-  $(error Please set CATEGORIES to one of $(wildcard categories/*))
+ifeq (,$(wildcard gar/categories/$(CATEGORIES)/category.mk))
+  $(error The category '$(CATEGORIES)' is invalid. Valid categories are $(patsubst gar/categories/%,%,$(wildcard gar/categories/*)))
 endif
 
 include gar/categories/$(CATEGORIES)/category.mk


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the devel mailing list