Changeset 710 for trunk/mktar


Ignore:
Timestamp:
Jan 10, 2016, 5:20:39 PM (4 years ago)
Author:
cito
Message:

Port all doc changes from 4.x branch to trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/mktar

    r686 r710  
    22
    33VERSION=5.0
     4DISTDIR=/u/pyg/files
    45
    5 # small safety test
     6# small safety tests
    67if [ ! -f module/pgmodule.c ]
    78then
    89        echo "Hmmm.  Are you sure you are in the right directory?"
     10        exit 1
     11fi
     12if [ ! -d $DISTDIR ]
     13then
     14        echo "Hmmm.  Are you sure you are on the right server?"
    915        exit 1
    1016fi
     
    2430# except this also makes the docs and bundles them as source and html.
    2531
    26 DISTDIR=/u/pyg/files
    2732TD=PyGreSQL-$VERSION
    2833TF=$DISTDIR/$TD.tgz
     
    3237          module/setup.py module/setup.cfg"
    3338DOCFILES="docs/Makefile docs/make.bat docs/*.rst
    34           docs/_build/html/*.html docs/_build/html/*.js
    35           docs/_build/html/_static"
     39          docs/contents docs/download docs/community
     40          docs/_static docs/_templates"
     41HTMLFILES="docs/_build/html"
    3642TESTFILES="module/tests/*.py"
    37 TUTFILES="tutorial/*.py"
    3843
    3944echo "Making source tarball..."
     
    4348rm -rf $TD
    4449mkdir $TD
    45 mkdir -p $TD/docs/_static
     50mkdir -p $TD/docs/_build/html
    4651mkdir $TD/tests
    47 mkdir $TD/tutorial
    4852cp $MODFILES $TD
    4953cp -r $DOCFILES $TD/docs
     54cp -r $HTMLFILES $TD/docs/_build
    5055cp $TESTFILES $TD/tests
    51 cp $TUTFILES $TD/tutorial
    5256tar -cvzf $TF $TD
    5357chmod 644 $TF
     
    5761
    5862echo "$TF has been built"
    59 
Note: See TracChangeset for help on using the changeset viewer.