From: Ulya Trofimovich Date: Mon, 20 Jul 2015 14:37:05 +0000 (+0100) Subject: Modified release script to try build with bmake as well as make. X-Git-Tag: 0.15~191 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=63c488515fa05f17678debba6930e2db5b31a345;p=re2c Modified release script to try build with bmake as well as make. --- diff --git a/re2c/release.sh b/re2c/release.sh index 258f98cc..6317cc04 100755 --- a/re2c/release.sh +++ b/re2c/release.sh @@ -19,15 +19,21 @@ sed -i -E "s/$lcontext$old$rcontext/$lcontext$new$rcontext/" configure.ac ./autogen.sh builddir=.build -rm -rf $builddir -mkdir $builddir -cd $builddir - - ../configure --enable-docs && \ - make bootstrap -j5 - make distcheck -j5 - # upload files on sourceforge +# try to be portable on various MAKEs +for make_prog in make bmake +do + rm -rf $builddir + mkdir $builddir + cd $builddir + ../configure --enable-docs && \ + $make_prog bootstrap -j5 + $make_prog distcheck -j5 + cd .. # $builddir +done + +# upload files on sourceforge +cd $builddir src=release src_tarballs=$src/frs/project/re2c/re2c/$version src_docs=$src/project-web/re2c/htdocs @@ -35,7 +41,6 @@ cd $builddir cp re2c-$version.tar.gz $src_tarballs cp ../doc/index.html doc/manual.html $src_docs rsync -rK $src/ skvadrik@web.sourceforge.net:/home - cd .. # $builddir # commit release