]> Cypherpunks.ru repositories - gogost.git/commitdiff
releases.atom
authorSergey Matveev <stargrave@stargrave.org>
Wed, 3 Aug 2022 09:09:10 +0000 (12:09 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 3 Aug 2022 09:09:10 +0000 (12:09 +0300)
www.do

diff --git a/www.do b/www.do
index 4d0a83ca4f1e8226678a8c4e8423b159846317d7..78ec2f428c4cc96d5b6d4c470132037a393df863 100644 (file)
--- a/www.do
+++ b/www.do
@@ -13,5 +13,14 @@ ${MAKEINFO:-makeinfo} --html \
     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
     --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
     -o $html www.texi
+(
+    cd $html
+    export ATOM_ID="34c4c603-9fa7-4441-a089-881d216d8638"
+    export NAME=GoGOST
+    export BASE_URL=http://www.gogost.cypherpunks.ru
+    export AUTHOR_EMAIL=gogost@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>/' $html/Download.html
 find $html -type d -exec chmod 755 {} +
 find $html -type f -exec chmod 644 {} +