[vdr] [ANNOUNCE] VDR developer version 1.3.31
Lauri Tischler
lwgt at iki.fi
Wed Aug 31 11:37:51 CEST 2005
Klaus Schmidinger wrote:
> Lauri Tischler wrote:
>
>> 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
>
>
> Ugly, very ugly - requires an extra file...
Yeah, I'm too dumb :(
Any Makefile gurus around ?
More information about the vdr
mailing list