]> Cypherpunks.ru repositories - pygost.git/commitdiff
Releases Atom feed
authorSergey Matveev <stargrave@stargrave.org>
Thu, 13 Apr 2023 15:34:59 +0000 (18:34 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 13 Apr 2023 15:34:59 +0000 (18:34 +0300)
www.do

diff --git a/www.do b/www.do
index 342d2f253aae1ddf6477c96b6bcc0f7c767c339a..0a93246678cd6c06753b7209896a73e33422e6ee 100644 (file)
--- a/www.do
+++ b/www.do
@@ -10,5 +10,14 @@ ${MAKEINFO:-makeinfo} --html \
     --set-customization-variable DATE_IN_HEADER=1 \
     --set-customization-variable ASCII_PUNCTUATION=1 \
     --output pygost.html www.texi
+(
+    cd pygost.html
+    export ATOM_ID="98c5d1c8-b867-4eee-91b0-ef2c507e93b9"
+    export NAME=PyGOST
+    export BASE_URL=http://www.pygost.cypherpunks.ru
+    export AUTHOR_EMAIL=pygost@cypherpunks.ru
+    ~/work/releases-feed/releases.atom.zsh
+)
+perl -i -npe 'print "<link rel=\"alternate\" title=\"Releases\" href=\"releases.atom\" type=\"application/atom+xml\">\n" if /^<\/head>/' pygost.html/Download.html
 find pygost.html -type d -exec chmod 755 {} +
 find pygost.html -type f -exec chmod 644 {} +