Hi,
it would be nice if during install the main Makefile would call the plugin Makefiles with install target.
Normaly this would be an empty target, but if the plugins needs additional files e.g. config files or sub-libraries they could be copied here.
Yes, I know that this change would break all plugins for the moment (until all have implemented an install target), so may be the main Makefile could grep the plugin Makefile for the install target and call it only when present.
I can prepare a patch if wanted.
Regards.
Stefan Huelswitt wrote:
Hi,
it would be nice if during install the main Makefile would call the plugin Makefiles with install target.
Normaly this would be an empty target, but if the plugins needs additional files e.g. config files or sub-libraries they could be copied here.
If a plugin needs additional sub-libraries, it can simply copy them to $(LIBDIR) when it copies its own library file. VDR's Makefile will take it from there.
Config files may be a poblem, because the user can define the config base directory at runtime. The Makefile doesn't know about that.
Klaus
On 28 May 2006 Klaus Schmidinger Klaus.Schmidinger@cadsoft.de wrote:
Stefan Huelswitt wrote:
it would be nice if during install the main Makefile would call the plugin Makefiles with install target.
Normaly this would be an empty target, but if the plugins needs additional files e.g. config files or sub-libraries they could be copied here.
If a plugin needs additional sub-libraries, it can simply copy them to $(LIBDIR) when it copies its own library file. VDR's Makefile will take it from there.
Yes, with your recent change to the main Makefile it's probably enough.
Regards.