X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=5ca9e86a98caf29fd3a6a2118ee7f3a292ca0259;hb=4632b3f929d2c2c33610be05007cf46159c6f485;hp=2788da8d1c280726e78763f488e0ba0e82848e11;hpb=19f3828e661b242af0d1a0195a84d8bc05a68339;p=gogost.git diff --git a/makedist.sh b/makedist.sh index 2788da8..5ca9e86 100755 --- a/makedist.sh +++ b/makedist.sh @@ -5,37 +5,90 @@ tmp=$(mktemp -d) release=$1 [ -n "$release" ] +redo-ifchange module-name streebog256 +mod_name=`cat module-name` git clone . $tmp/gogost-$release cd $tmp/gogost-$release -git checkout $release -git submodule update --init - -mkdir -p src/cypherpunks.ru/gogost/vendor -cat > $tmp/includes < module-name +find . -name "*.do" -exec perl -i -npe "s/^go/GOPATH=\`pwd\` go/" {} \; + +mkdir -p src/golang.org/x/crypto +( cd $GOPATH/pkg/mod/$crypto_mod_path ; \ + tar cf - AUTHORS CONTRIBUTORS LICENSE PATENTS README.md pbkdf2 hkdf ) | + tar xfC - src/golang.org/x/crypto + +cat > download.texi < $texi < $texi < $texi <