|
|
@@ -29,15 +29,15 @@ printfiles() {
|
|
|
|
|
|
printpyfiles() {
|
|
|
# Print headers
|
|
|
- echo ${hdr/lib/Py${1}} >>$file
|
|
|
+ echo ${hdr/lib/Py${1}} | sed 's/PyCo/Pyco/' >>$file
|
|
|
find $srcpath/$1/$pypath -iname "*.h" -exec echo ' '$srcdir/{} \; 2>/dev/null | sort -f >>$file
|
|
|
echo -e ')\n' >>$file
|
|
|
# Print public headers
|
|
|
- echo ${pubhdr/lib/Py${1}} >>$file
|
|
|
+ echo ${pubhdr/lib/Py${1}} | sed 's/PyCo/Pyco/' >>$file
|
|
|
find $hdrpath/$1/$pypath -iname "*.h" -exec echo ' '$srcdir/{} \; 2>/dev/null | sort -f >>$file 2>/dev/null
|
|
|
echo -e ')\n' >>$file
|
|
|
# Print source files
|
|
|
- echo ${src/lib/Py${1}} >>$file
|
|
|
+ echo ${src/lib/Py${1}} | sed 's/PyCo/Pyco/' >>$file
|
|
|
find $srcpath/$1/$pypath -iname "*.cpp" -exec echo ' '$srcdir/{} \; 2>/dev/null | sort -f >>$file
|
|
|
echo -e ')\n' >>$file
|
|
|
}
|