# echo " smp Add SMP=2 to the envivonment to speed wxGTK build"
}
-if [ $# -lt 2 ]; then
+if [ $# -lt 1 ]; then
usage
exit 1
fi
done
# now do the same thing for wxPython, skipping it's build dirs and such
- mkdir ${tarver}/wxPython
- cp -pf --link ${wxdir}/wxPython/* ${tarver}/wxPython > /dev/null 2>&1
- for d in contrib demo distrib distutils docs include licence samples scripts src SWIG wx wxPython; do
- cp -Rpf --link ${wxdir}/wxPython/$d ${tarver}/wxPython #> /dev/null 2>&1
+ for dir in `grep -v '#' ${wxdir}/wxPython/distrib/DIRLIST`; do
+ mkdir ${tarver}/${dir}
+ ##echo "cp -pf --link ${wxdir}/${dir}/* ${tarver}/${dir}"
+ cp -pf --link ${wxdir}/${dir}/* ${tarver}/${dir} > /dev/null 2>&1
done
-# cp -Rpf --link ${wxdir}/* ${tarver} > /dev/null 2>&1
-# rm -r ${tarver}/bld*
-# rm -r ${tarver}/wxPython/build*
-# rm -r ${tarver}/wxPython/_build_rpm
-
echo "*** Removing uneeded stuff from copy of CVS tree"
pushd ${tarver} > /dev/null
cleanup .cvsignore
rm locale/*.mo
cleanup ".#*"
cleanup "*~"
+ cleanup "*.orig"
+ cleanup "*.rej"
cleanup "*.pyc"
cleanup core
cleanup "core.[0-9]*"
rm -f wxPython/wx/* > /dev/null 2>&1
- rm wxPython/demo/.setup.sh
- rm -r wxPython/docs/xml-raw
popd > /dev/null
popd > /dev/null