[ANNOUNCE] VDR developer version 1.3.31

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Util Linux NG]     [Xfree86]     [Big List of Linux Books]     [Fedora Users]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux