[vdr] [ANNOUNCE] VDR developer version 1.3.31

Lauri Tischler lwgt at iki.fi
Wed Aug 31 11:13:30 CEST 2005


Klaus Schmidinger wrote:

> Ok, and now the whole thing in Makefile syntax, please... ;-)

# DVBDIR=/very/odd/place
ifndef DVBDIR
DVBDIR=$(shell ./getdvbdir.sh)
endif

---  getdvbdir.sh ---
#!/bin/bash
case `uname -r` in
         2.[01234].*)
                 DVBDIR=../DVB
                 ;;
         *)
                 DVBDIR=lib/modules/`uname -r`/build
                 ;;
esac
echo $DVBDIR




More information about the vdr mailing list