X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6e83b721d907ddb739116f15b88e87631696a1f6..3d4875664f6242d1580db047173d3075b047435e:/wxPython/distrib/makerpm diff --git a/wxPython/distrib/makerpm b/wxPython/distrib/makerpm index b1f22465c6..194995955d 100755 --- a/wxPython/distrib/makerpm +++ b/wxPython/distrib/makerpm @@ -40,7 +40,7 @@ function usage { echo "command flags:" echo " skipcopy Don't copy the files for the tarball from the workspace" echo " skiptar Don't build the tarball" - echo " skiprpm Don't build the RPM (but why?)" + echo " skiprpm Don't build the RPM" echo " skipclean Don't do the cleanup at the end" echo " gtk2 Build using wxGTK2 and Unicode" echo " x11 Build using wxX11" @@ -87,7 +87,7 @@ for flag in $*; do case ${flag} in skipcopy) skipcopy=1 ;; skipclean) skipclean=1 ;; - skiptar) skiptar=1 ;; + skiptar) skiptar=1; skipcopy=1 ;; skiprpm) skiprpm=1 ;; gtk2) unicode=1; port=GTK2; lcport=gtk2 ;; x11) port=X11; lcport=x11 ;; @@ -158,6 +158,13 @@ if [ -z "${skipcopy}" ]; then cp -pf --link ${wxdir}/${dir}/* ${tarver}/${dir} > /dev/null 2>&1 done + # 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 cleanup .cvsignore