]> Cypherpunks.ru repositories - nncp.git/commitdiff
Generate THANKS automatically
authorSergey Matveev <stargrave@stargrave.org>
Sun, 30 Apr 2017 11:40:55 +0000 (14:40 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Sun, 30 Apr 2017 12:10:23 +0000 (15:10 +0300)
THANKS [deleted file]
makedist.sh
supplementary_files.sh [moved from news_and_install.sh with 78% similarity]

diff --git a/THANKS b/THANKS
deleted file mode 100644 (file)
index 939764c..0000000
--- a/THANKS
+++ /dev/null
@@ -1,5 +0,0 @@
-There are people deserving to be thanked for helping this project:
-
-* Shawn K. Quinn <skquinn at rushpost dot com> for his descriptive
-  instructions about building NNCP under Ubuntu GNU/Linux distributions
-  and bug reports
index 208517a067be2a88d95df6f510111bd110197355..aeed4e157c685b4224e116af2afa8eaf1472a599 100755 (executable)
@@ -71,8 +71,8 @@ You can obtain releases source code prepared tarballs on
 @url{http://www.nncpgo.org/}.
 EOF
 make -C doc
-./news_and_install.sh
-rm -r doc/.well-known doc/nncp.html/.well-known news_and_install.sh
+./supplementary_files.sh
+rm -r doc/.well-known doc/nncp.html/.well-known supplementary_files.sh
 
 find . -name .git -type d | xargs rm -fr
 find . -name .gitignore -delete
similarity index 78%
rename from news_and_install.sh
rename to supplementary_files.sh
index 11adc355680d61a57decffbb384a3439445d1572..4ef489ca11f22423ed8fa89bee6e70894c34d35d 100755 (executable)
@@ -41,3 +41,17 @@ cat > $texi <<EOF
 EOF
 makeinfo --plaintext -o INSTALL $texi
 rm -f $texi
+
+texi=`mktemp`
+
+cat > $texi <<EOF
+\input texinfo
+@documentencoding UTF-8
+@settitle THANKS
+
+`cat doc/thanks.texi`
+
+@bye
+EOF
+makeinfo --plaintext -o THANKS $texi
+rm -f $texi