mv $tmp/golang.org src
cat > download.texi <<EOF
-@node Download
-@unnumbered Download
You can obtain releases source code prepared tarballs on
@url{http://gocheese.cypherpunks.ru/}.
EOF
make gocheese.info
-rm -rf .git .gitignore style.css makedist* www.mk
+texi=$(mktemp)
+cat > $texi <<EOF
+\input texinfo
+@documentencoding UTF-8
+@settitle INSTALL
+@include install.texi
+@bye
+EOF
+sed -i.tmp "s/@verbatiminclude PUBKEY.asc/Look in PUBKEY.asc file./" install.texi
+makeinfo --plaintext -o INSTALL $texi
+rm $texi install.texi.tmp
+
+rm -rf .git .gitignore style.css makedist.sh www.mk
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;