X-Git-Url: http://www.git.cypherpunks.ru/?a=blobdiff_plain;f=makedist.sh;h=5ca9e86a98caf29fd3a6a2118ee7f3a292ca0259;hb=5d6df51d96f29e1188cb7a4a8bec06a9d970484b;hp=24d5f5883d550f65f667825b1746b1fa5d3faa4d;hpb=e18f699393998b934a531147af21b461a6688fd1;p=gogost.git diff --git a/makedist.sh b/makedist.sh index 24d5f58..5ca9e86 100755 --- a/makedist.sh +++ b/makedist.sh @@ -5,23 +5,75 @@ 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 <