[vdr] Errorreturncode from Makefile possible?

Udo Richter udo_richter at gmx.de
Sat Sep 22 18:47:48 CEST 2007


Torsten Kunkel wrote:
> I would love it, if the Makefile could give an errorcode if something
> went wrong.
> Normally I'm using "make plugins && ./runvdr" when testing plugins.
> But if the compile of one or many plugins failes, the makefile gives an
> OK, and vdr starts (with the old plugincode).

You can help yourself by doing it like this:

   make -C PLUGINS/src/someplugin all && ./runvdr

This will only compile this one plugin, and it only works after make 
plugins has run once, but its nice & fast for testing.


Cheers,

Udo



More information about the vdr mailing list