vdr: Small adjustments.

* Make links for config.h and device.h to easily build plugins
  outside the VDR source tree.
* Add vdr configuration file.
* Remove some unused stuff from runvdr script.
This commit is contained in:
Michael Tremer
2013-03-24 13:00:22 +01:00
parent e16ed29cb0
commit 90dc87b7de
4 changed files with 57 additions and 36 deletions

View File

@@ -116,8 +116,16 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects))
# Install configuration.
mkdir -pv /etc/vdr
mkdir -pv /etc/sysconfig/vdr-plugins.d
cd $(DIR_APP) && install -m 644 $(DIR_SRC)/config/vdr/vdr.sysconfig \
/etc/sysconfig/vdr
cd $(DIR_APP) && install -m 644 *.conf /etc/vdr
# Link development files.
mkdir -pv /usr/lib/vdr
cd $(DIR_APP) && cp -vf Make.global /usr/lib/vdr
ln -svf ../../include/vdr/config.h /usr/lib/vdr/config.h
ln -svf ../../include/vdr/device.h /usr/lib/vdr/device.h
# Install start links and backup include file.
ln -sf ../init.d/vdr /etc/rc.d/rc3.d/S60vdr
ln -sf ../init.d/vdr /etc/rc.d/rc0.d/K40vdr