X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FPackets%2F80211Bundle%2Fradiotap%2FSConscript;fp=senf%2FPackets%2F80211Bundle%2Fradiotap%2FSConscript;h=0b122525b97cabead232ee80dfc322512aea76fe;hb=0d88f940c093ff9c34099c9ab5c43e340f60a1f0;hp=0000000000000000000000000000000000000000;hpb=1c149cd73c2b9dc5b112958e1f247097cd18db6e;p=senf.git diff --git a/senf/Packets/80211Bundle/radiotap/SConscript b/senf/Packets/80211Bundle/radiotap/SConscript new file mode 100644 index 0000000..0b12252 --- /dev/null +++ b/senf/Packets/80211Bundle/radiotap/SConscript @@ -0,0 +1,20 @@ +# -*- python -*- + +Import('env') +import SENFSCons + +env.SetDefault( + RADIOTAP_FILES = env.Glob("*.h") + env.Glob("*.c"), + RADIOTAP_URL = 'http://git.sipsolutions.net/radiotap.git', + ) + +env.PhonyTarget( + 'update-radiotap', [], + [ Delete('$GITDIR'), + 'git clone $RADIOTAP_URL $GITDIR', + 'cp $_RADIOTAP_FILES $HERE', + Delete('$GITDIR') ], + HERE = env.Dir('.'), + GITDIR = env.Dir('radiotap.git'), + _RADIOTAP_FILES = [ env.Dir('radiotap.git').File(f) + for f in env.Flatten(env.subst_list('$RADIOTAP_FILES')) ])