More packager scripts updates. The RPMs will now install icons and
menu items, etc. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2,23 +2,17 @@
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
||||
if [ -z $1 ]; then
|
||||
echo "Please specify a version number on the command line."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
if [ ! -d wxPython ]; then # TODO: make this test more robust
|
||||
echo "Please run this script from the root wxPython directory."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
|
||||
VERSION=`python -c "import setup;print setup.VERSION"`
|
||||
CONTRIBS="ogl gizmos"
|
||||
DEST=wxPython-$VERSION/docs
|
||||
|
||||
# **** Make a directory to build up a distribution tree
|
||||
|
||||
DEST=wxPython-$1/docs
|
||||
|
||||
mkdir -p _build_docs/$DEST
|
||||
cd _build_docs
|
||||
mkdir $DEST/wx
|
||||
@@ -60,9 +54,9 @@ popd
|
||||
cp ../distrib/viewdocs.py $DEST
|
||||
cp ../distrib/README.viewdocs.txt $DEST/README.txt
|
||||
|
||||
rm -f ../dist/wxPythonDocs-$1.tar.gz
|
||||
tar cvf ../dist/wxPythonDocs-$1.tar $DEST
|
||||
gzip -9 ../dist/wxPythonDocs-$1.tar
|
||||
rm -f ../dist/wxPythonDocs-$VERSION.tar.gz
|
||||
tar cvf ../dist/wxPythonDocs-$VERSION.tar $DEST
|
||||
gzip -9 ../dist/wxPythonDocs-$VERSION.tar
|
||||
|
||||
|
||||
# **** Cleanup
|
||||
|
Reference in New Issue
Block a user