[csw-maintainers] GAR: Checking for certain variables inside a category file

Maciej (Matchek) Blizinski maciej at opencsw.org
Tue Oct 13 18:20:45 CEST 2009


I'm implementing a new category for gar, to create packages from loose
files. The usage is going to be:

CATEGORIES = loose
FILES = ...
LOCAL_SRC = ...

include gar/category.mk

I'd like to implement checks for FILES and LOCAL_SRC: if undefined, I
want GAR to display an error with an explanation. I need to do this
inside a target. Which target to use?

Maciej



More information about the maintainers mailing list