On Tue, Oct 13, 2009 at 5:28 PM, Dagobert Michelsen <[email protected]> wrote:
>> 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?
>
> No. You can just put
>
> ifeq ($(FILES),)
> $(error Please set FILE to ...)
> endif
>
> in your categories/loose/category.mk. Or are there other reasons
> you want to do that inside a target?

No, no other reasons. My code looks like this:

http://dpaste.com/106704/

I'm getting this error:

gar/categories/loose/category.mk:12: *** commands commence before
first target.  Stop.

Maciej
_______________________________________________
maintainers mailing list
[email protected]
https://lists.opencsw.org/mailman/listinfo/maintainers

Reply via email to