]> Cypherpunks.ru repositories - gocheese.git/blobdiff - makedist.sh
Autogenerate INSTALL
[gocheese.git] / makedist.sh
index af5b9184d13446d527da082c98fe93326bbe3052..5fc3d19baffa93c88b1effcd3e5224515a60d6d4 100755 (executable)
@@ -65,14 +65,24 @@ rm -fr src/golang.org $tmp/includes
 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 {} \;