X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/978cadd05ffaab12783b69ea12033947e009ec3c..2abd8d78a69cbe726f957de91929feeeac21cfb0:/wxPython/distrib/makerpm?ds=sidebyside diff --git a/wxPython/distrib/makerpm b/wxPython/distrib/makerpm index 3bc3a4d755..059085b170 100755 --- a/wxPython/distrib/makerpm +++ b/wxPython/distrib/makerpm @@ -152,16 +152,18 @@ if [ -z "${skipcopy}" ]; then 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 + # using DIRLIST as above will normally skip any files starting + # with a dot, but there are a few .files that we do want to + # copy... + for dir in wxPython/distrib/msw; do + cp -pf --link ${wxdir}/${dir}/.[a-zA-Z]* ${tarver}/${dir} > /dev/null 2>&1 + done echo "*** Removing uneeded stuff from copy of CVS tree" pushd ${tarver} > /dev/null @@ -184,8 +186,6 @@ if [ -z "${skipcopy}" ]; then 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