- # Regenerate the reST docs
- echo "Regenerating the reST docs..."
- cd docs
- for x in *.txt; do
- docutils-html $x `basename $x .txt`.html
- done
- cd -
-
- # build the doc and demo tarballs
- distrib/makedemo
- distrib/makedocs
-
- # build the new docs too
- docs/bin/everything
-
- # make the source tarball
- distrib/makerpm 2.3 skipclean skiprpm gtk2
-
- # make the source RPMs
- for ver in $PYVER; do
- distrib/makerpm $ver skipclean skipcopy skiptar srpm
- distrib/makerpm $ver skipclean skipcopy skiptar srpm gtk2
- done
+ if [ $skipdocs != yes ]; then
+ # Regenerate the reST docs
+ echo "Regenerating the reST docs..."
+ cd docs
+ for x in *.txt; do
+ docutils-html $x `basename $x .txt`.html
+ done
+ cd -
+
+ # build the doc and demo tarballs
+ distrib/makedemo
+ distrib/makedocs
+
+ # build the new docs too
+ docs/bin/everything
+ fi
+
+ # make the source tarball and srpm
+ distrib/makerpm 2.3 srpm