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/}.
+@url{http://www.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
+perl -i -p -e "s/.verbatiminclude PUBKEY.asc/Look in PUBKEY.asc file./" install.texi
+makeinfo --plaintext -o INSTALL $texi
+rm $texi
+
+rm -rf .git .gitignore style.css makedist.sh www.mk
find . -type d -exec chmod 755 {} \;
find . -type f -exec chmod 644 {} \;
cat <<EOF
An entry for documentation:
-@item @ref{Release $release, $release} @tab $release_date @tab $size KiB
+@item $release @tab $release_date @tab $size KiB
@tab @url{gocheese-${release}.tar.xz, link} @url{gocheese-${release}.tar.xz.sig, sign}
@tab @code{$hash}
EOF