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

Makefile error handling

I was curious why there is no '-' in front of some commands in 

___ (NOW) ___
        $(MAKE) -C $@

        $(MAKE) -C $(subst -publish,,$@) publish $(publish_args)

        $(MAKE) -C $(subst -clean,,$@) clean

___ (WHY NOT THIS) ___
        -$(MAKE) -C $@

        -$(MAKE) -C $(subst -publish,,$@) publish $(publish_args)

        -$(MAKE) -C $(subst -clean,,$@) clean

This way, even if one of the package is bad, it builds rest of them. 

Osamu :)
+  Osamu Aoki <debian@aokiconsulting.com> @ Cupertino, CA USA         +

Reply to: