diff options
Diffstat (limited to 'v4l/scripts/cardlist')
-rw-r--r-- | v4l/scripts/cardlist | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/v4l/scripts/cardlist b/v4l/scripts/cardlist index 33d6ad99e..24a3072bf 100644 --- a/v4l/scripts/cardlist +++ b/v4l/scripts/cardlist @@ -1,14 +1,9 @@ #!/bin/sh -cat bttv-cards.c \ - | grep "\.name.*=" \ - | perl -ne '/"([^"]+)"/; printf("card=%d - %s\n",$i++,$1)' \ - | perl -ne 's/[ \t]+$//; print' > doc/CARDLIST.bttv -LINE="`grep -n "gdi_tuner\[\]" cx88-cards.c|cut -f1 -d:`" +scripts/bttv.pl bttv.h bttv-cards.c \ + | perl -ne 's/[ \t]+$//; print' > doc/CARDLIST.bttv -head -$LINE cx88-cards.c \ - | grep "\.name.*=" \ - | perl -ne '/"([^"]+)"/; printf("card=%d - %s\n",$i++,$1)' \ +scripts/cx88.pl cx88.h cx88-cards.c \ | perl -ne 's/[ \t]+$//; print' > doc/CARDLIST.cx88 cat tuner-simple.c \ @@ -19,4 +14,3 @@ cat tuner-simple.c \ scripts/saa7134.pl saa7134.h saa7134-cards.c \ | perl -ne 's/[ \t]+$//; print' > doc/CARDLIST.saa7134 - |