]> Cypherpunks.ru repositories - nncp.git/commitdiff
Generate plaintext NEWS
authorSergey Matveev <stargrave@stargrave.org>
Fri, 20 Jan 2017 09:21:07 +0000 (12:21 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 20 Jan 2017 09:24:03 +0000 (12:24 +0300)
NEWS [deleted symlink]
doc/news.texi
makedist.sh
news.sh [new file with mode: 0755]

diff --git a/NEWS b/NEWS
deleted file mode 120000 (symlink)
index 8be52e4..0000000
--- a/NEWS
+++ /dev/null
@@ -1 +0,0 @@
-doc/news.texi
\ No newline at end of file
index 6cef47374a308836c7961b1cb0c749f11cbce513..5a323093dda9b2ae4a247c02661ec7c09b142e55 100644 (file)
@@ -4,13 +4,14 @@
 @node Release 0.4
 @section Release 0.4
 @itemize
-@item Small fix in @ref{nncp-call}, @ref{nncp-caller},
-@ref{nncp-daemon}: they can segmentation fail sometimes (no data is lost).
-@item @command{nncp-newnode} renamed to @ref{nncp-newcfg} -- it is
+@item Small fix in @command{nncp-call}, @command{nncp-caller},
+@command{nncp-daemon}: they can segmentation fail sometimes (no data is
+lost).
+@item @command{nncp-newnode} renamed to @command{nncp-newcfg} -- it is
 shorter and more convenient to use.
-@item @ref{nncp-mincfg} command appeared: helper allowing to create
+@item @command{nncp-mincfg} command appeared: helper allowing to create
 minimalistic stripped down configuration files without private keys,
-that is useful during @ref{nncp-xfer} usage.
+that is useful during @command{nncp-xfer} usage.
 @end itemize
 
 @node Release 0.3
@@ -25,14 +26,15 @@ changed too): size field is encrypted and is not send in plaintext
 anymore.
 @item @option{-minsize} option gives ability to automatically pad
 outgoing packets to specified minimal size.
-@item @ref{nncp-daemon} and @ref{nncp-call}/@ref{nncp-caller} always
-check new @emph{tx} packets appearance in the background while
-connected. Remote side is immediately notified.
+@item @command{nncp-daemon} and
+@command{nncp-call}/@command{nncp-caller} always check new @emph{tx}
+packets appearance in the background while connected. Remote side is
+immediately notified.
 @item @option{-onlinedeadline} option gives ability to configure timeout
 of inactivity of online connection, when it could be disconnected. It
 could be used to keep connection alive for a long time.
 @item @option{-maxonlinetime} option gives ability to set maximal
 allowable online connection aliveness time.
-@item @ref{nncp-caller} command appeared: cron-ed TCP daemon caller.
-@item @ref{nncp-pkt} command can decompress the data.
+@item @command{nncp-caller} command appeared: cron-ed TCP daemon caller.
+@item @command{nncp-pkt} command can decompress the data.
 @end itemize
index ef8f17adf2dcae87bf216749d06cb7a38c1aee06..552920b2c47c0e3c3b4e0200e6b9e87dc8a8972b 100755 (executable)
@@ -71,7 +71,8 @@ You can obtain releases source code prepared tarballs on
 @url{http://www.nncpgo.org/}.
 EOF
 make -C doc
-rm -r doc/.well-known doc/nncp.html/.well-known
+./news.sh
+rm -r doc/.well-known doc/nncp.html/.well-known news.sh
 
 find . -name .git -type d | xargs rm -fr
 find . -name .gitignore -delete
diff --git a/news.sh b/news.sh
new file mode 100755 (executable)
index 0000000..78e9e00
--- /dev/null
+++ b/news.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+texi=`mktemp`
+cat > $texi <<EOF
+\input texinfo
+@documentencoding UTF-8
+@settitle NEWS
+
+`cat doc/news.texi`
+
+@bye
+EOF
+makeinfo --plaintext -o NEWS $texi
+rm -f $texi