]> Cypherpunks.ru repositories - gocheese.git/blobdiff - makedist.sh
Less sed
[gocheese.git] / makedist.sh
index af5b9184d13446d527da082c98fe93326bbe3052..d73936a5d31a083f8991fae51b8131b68c75282f 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
+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 {} \;