VDR 1.3.29 'make install' fails if no plugins have been built
Commit Message
Hi Folks
The changes to the Makefile in 1.3.29 (and still present in 1.3.31)
prevent 'make install' from working if no plugins have been built.
Attached is a small patch for 1.3.31 to split install into install and
plugins-install (to mirror clean and plugins-clean).
#
# patch "Makefile"
# from [0fffd0e966531427ddbf1efcab09d7977591531f]
# to [64c89bf472547ae341c060b1c6ed3639ab852dd6]
#
===============================================
@@ -185,8 +185,6 @@
install:
@mkdir -p $(BINDIR)
@cp vdr runvdr $(BINDIR)
- @mkdir -p $(BINDIR)/$(PLUGINLIBDIR)
- @cp $(PLUGINLIBDIR)/* $(BINDIR)/$(PLUGINLIBDIR)
@mkdir -p $(MANDIR)/man1
@mkdir -p $(MANDIR)/man5
@gzip -c vdr.1 > $(MANDIR)/man1/vdr.1.gz
@@ -196,6 +194,10 @@
cp *.conf $(VIDEODIR);\
fi
+plugins-install:
+ @mkdir -p $(BINDIR)/$(PLUGINLIBDIR)
+ @cp $(PLUGINLIBDIR)/* $(BINDIR)/$(PLUGINLIBDIR)
+
# Source documentation:
srcdoc: