summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKlaus Schmidinger <vdr@tvdr.de>2012-12-30 11:18:18 +0100
committerKlaus Schmidinger <vdr@tvdr.de>2012-12-30 11:18:18 +0100
commit0dd2dcf5a27b9ad52ab1d756c3eb76312fd2aa33 (patch)
tree17b181494d52f5d2049f718ef4b899dbf9c23e21 /Makefile
parent26e6ba7dd7cedfa2adbae794b7d0a07edb10b308 (diff)
downloadvdr-0dd2dcf5a27b9ad52ab1d756c3eb76312fd2aa33.tar.gz
vdr-0dd2dcf5a27b9ad52ab1d756c3eb76312fd2aa33.tar.bz2
Checking "PKGCFG" instead of "Make.global" to see if a plugin uses an old style Makefile
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 1be098b6..f4d23412 100644
--- a/Makefile
+++ b/Makefile
@@ -4,7 +4,7 @@
# See the main source file 'vdr.c' for copyright information and
# how to reach the author.
#
-# $Id: Makefile 2.46 2012/12/29 14:53:37 kls Exp $
+# $Id: Makefile 2.47 2012/12/30 11:18:18 kls Exp $
.DELETE_ON_ERROR:
@@ -194,13 +194,13 @@ plugins: include-dir vdr.pc
noapiv="";\
for i in `ls $(PLUGINDIR)/src | grep -v '[^a-z0-9]'`; do\
echo "*** Plugin $$i:";\
- oldmakefile=`grep "Make.global" "$(PLUGINDIR)/src/$$i/Makefile"`;\
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;\
- if [ -n "$$oldmakefile" ]; then\
+ newmakefile=`grep "PKGCFG" "$(PLUGINDIR)/src/$$i/Makefile"`;\
+ if [ -z "$$newmakefile" ]; then\
echo "********************************************************************";\
echo "* Your plugin \"$$i\" is using an old Makefile!";\
echo "* While this currently still works, it is strongly recommended";\