Line | |
---|
1 | #!/bin/sh
|
---|
2 |
|
---|
3 | # This script is intended to be used AFTER moving this
|
---|
4 | # source code files into the alsa-kernel/ directory
|
---|
5 | # to create the .c and .h stub files for THIS directory.
|
---|
6 | # It was written for the alsa-driver tarball. If aplied
|
---|
7 | # to the CVS tree, you may need add another "../"
|
---|
8 | # on the include path.
|
---|
9 |
|
---|
10 | FILES=$(ls -1 -A $1/*.c $1/*.h)
|
---|
11 |
|
---|
12 | for file in $FILES
|
---|
13 | do
|
---|
14 | fil=$(basename $file)
|
---|
15 | echo $file -- $fil
|
---|
16 | echo "#define __NO_VERSION__" > $fil
|
---|
17 | echo "#include \"../../alsa-kernel/pci/au88x0/$fil\"" >> $fil
|
---|
18 | echo >> $fil
|
---|
19 | done
|
---|
20 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.