diff --git a/dist.sh b/dist.sh index 91f178a5..f0b0e6ed 100755 --- a/dist.sh +++ b/dist.sh @@ -11,6 +11,14 @@ # sphinxcontib_spelling # git-archive-all # ##################################### + +git-archive-all --help > /dev/null 2>&1 +if [ $? != 0 ]; then + echo 'ERROR: git-archive-all is not available' + echo 'HINT: python3 -m pip install git-archive-all' + exit 1 +fi + # # Version ID # @@ -22,17 +30,21 @@ vid=`echo ${major}.${minor}.${patch}` ROOTDIR=`pwd` # Build docments -cd doc/ja +cd $ROOTDIR/doc/ja make latexpdf cp ./build/latex/userguide_HPhi_ja.pdf $ROOTDIR/doc -cd ../en +cd $ROOTDIR/doc/en make latexpdf cp ./build/latex/userguide_HPhi_en.pdf $ROOTDIR/doc +cd $ROOTDIR/doc/tutorial/en +make latexpdf +cp ./build/latex/tutorial_HPhi_en.pdf $ROOTDIR/doc # Make a tarball cd $ROOTDIR git-archive-all \ --extra=doc/userguide_HPhi_ja.pdf \ --extra=doc/userguide_HPhi_en.pdf \ + --extra=doc/tutorial_HPhi_en.pdf \ --prefix=HPhi-${vid} \ HPhi-${vid}.tar.gz diff --git a/doc/en/source/conf.py b/doc/en/source/conf.py index e1b43577..15063913 100644 --- a/doc/en/source/conf.py +++ b/doc/en/source/conf.py @@ -66,7 +66,7 @@ # The short X.Y version. version = '3.5' # The full version, including alpha/beta/rc tags. -release = u'3.5.0' +release = u'3.5.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/doc/ja/source/conf.py b/doc/ja/source/conf.py index 23a7a9ff..763c24d9 100644 --- a/doc/ja/source/conf.py +++ b/doc/ja/source/conf.py @@ -64,7 +64,7 @@ # The short X.Y version. version = '3.5' # The full version, including alpha/beta/rc tags. -release = u'3.5.0' +release = u'3.5.1' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/src/include/version_patch.h b/src/include/version_patch.h index 573541ac..d00491fd 100644 --- a/src/include/version_patch.h +++ b/src/include/version_patch.h @@ -1 +1 @@ -0 +1