]> Sergey Matveev's repositories - tofuproxy.git/commitdiff
Atom feed
authorSergey Matveev <stargrave@stargrave.org>
Fri, 11 Aug 2023 13:02:39 +0000 (16:02 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Fri, 11 Aug 2023 13:02:39 +0000 (16:02 +0300)
doc/www.do

index 0a8de34c2ae61482c86ebc1a5958dab37e473f25..66148fa5c95c089b2f085ea08d893d343bc947ad 100644 (file)
@@ -11,5 +11,14 @@ ${MAKEINFO:=makeinfo} --html \
     --set-customization-variable ASCII_PUNCTUATION=1 \
     --output $html index.texi
 cp -a *.webp ../PUBKEY-* $html/
+(
+    cd $html/download
+    export ATOM_ID="e1e74079-3844-11ee-9b0c-a4ae1277b945"
+    export NAME=tofuproxy
+    export BASE_URL=http://www.tofuproxy.stargrave.org/download
+    export AUTHOR_EMAIL=tofuproxy@cypherpunks.ru
+    ~/work/releases-feed/releases.atom.zsh
+)
+perl -i -npe 'print "<link rel=\"alternate\" title=\"Releases\" href=\"download/releases.atom\" type=\"application/atom+xml\">\n" if /^<\/head>/' $html/Install.html
 find $html -type d -exec chmod 755 {} +
 find $html -type f -exec chmod 644 {} +