mirror of
https://github.com/VDR4Arch/vdr.git
synced 2023-10-10 13:36:52 +02:00
Added an error message about plugins that don't honor APIVERSION in their Makefile
This commit is contained in:
parent
a9060d6290
commit
d7c8025fba
@ -1410,6 +1410,8 @@ Udo Richter <udo_richter@gmx.de>
|
|||||||
case a replay is active
|
case a replay is active
|
||||||
for reporting a problem with plugins that report errors when VDR is run with the
|
for reporting a problem with plugins that report errors when VDR is run with the
|
||||||
--help or --version option
|
--help or --version option
|
||||||
|
for suggesting to add a warning about plugins that don't honor APIVERSION in their
|
||||||
|
Makefile
|
||||||
|
|
||||||
Sven Kreiensen <svenk@kammer.uni-hannover.de>
|
Sven Kreiensen <svenk@kammer.uni-hannover.de>
|
||||||
for his help in keeping 'channels.conf.terr' up to date
|
for his help in keeping 'channels.conf.terr' up to date
|
||||||
|
2
HISTORY
2
HISTORY
@ -4641,3 +4641,5 @@ Video Disk Recorder Revision History
|
|||||||
current APIVERSION (suggested by Thomas Günther).
|
current APIVERSION (suggested by Thomas Günther).
|
||||||
- Fixed handling empty titles in cEvent::FixEpgBugs() (reported by Rolf Ahrenberg).
|
- Fixed handling empty titles in cEvent::FixEpgBugs() (reported by Rolf Ahrenberg).
|
||||||
- Fixed some missing '-' in the German OSD texts (thanks to Walter Koch).
|
- Fixed some missing '-' in the German OSD texts (thanks to Walter Koch).
|
||||||
|
- Added an error message about plugins that don't honor APIVERSION in their Makefile
|
||||||
|
(based on a suggestion by Udo Richter).
|
||||||
|
9
Makefile
9
Makefile
@ -4,7 +4,7 @@
|
|||||||
# See the main source file 'vdr.c' for copyright information and
|
# See the main source file 'vdr.c' for copyright information and
|
||||||
# how to reach the author.
|
# how to reach the author.
|
||||||
#
|
#
|
||||||
# $Id: Makefile 1.88 2006/04/22 09:58:44 kls Exp $
|
# $Id: Makefile 1.89 2006/04/23 09:01:17 kls Exp $
|
||||||
|
|
||||||
.DELETE_ON_ERROR:
|
.DELETE_ON_ERROR:
|
||||||
|
|
||||||
@ -176,10 +176,17 @@ include-dir:
|
|||||||
|
|
||||||
plugins: include-dir
|
plugins: include-dir
|
||||||
@failed="";\
|
@failed="";\
|
||||||
|
@noapiv="";\
|
||||||
for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do\
|
for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do\
|
||||||
echo "Plugin $$i:";\
|
echo "Plugin $$i:";\
|
||||||
|
if ! grep -q "\$$(LIBDIR)/.*\$$(APIVERSION)" "$(PLUGINDIR)/src/$$i/Makefile" ; then\
|
||||||
|
echo "ERROR: plugin $$i doesn't honor APIVERSION - not compiled!";\
|
||||||
|
noapiv="$$noapiv $$i";\
|
||||||
|
continue;\
|
||||||
|
fi;\
|
||||||
$(MAKE) -C "$(PLUGINDIR)/src/$$i" all || failed="$$failed $$i";\
|
$(MAKE) -C "$(PLUGINDIR)/src/$$i" all || failed="$$failed $$i";\
|
||||||
done;\
|
done;\
|
||||||
|
if [ -n "$$noapiv" ] ; then echo; echo "*** plugins without APIVERSION:$$noapiv"; echo; fi;\
|
||||||
if [ -n "$$failed" ] ; then echo; echo "*** failed plugins:$$failed"; echo; fi
|
if [ -n "$$failed" ] ; then echo; echo "*** failed plugins:$$failed"; echo; fi
|
||||||
|
|
||||||
clean-plugins:
|
clean-plugins:
|
||||||
|
Loading…
Reference in New Issue
Block a user