]> Cypherpunks.ru repositories - goredo.git/commitdiff
Up to date makedist
authorSergey Matveev <stargrave@stargrave.org>
Thu, 17 Feb 2022 08:17:41 +0000 (11:17 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Thu, 17 Feb 2022 08:17:41 +0000 (11:17 +0300)
doc/www.do
makedist.sh

index 79c7e407fd8fa101ede41eff62290f1abc3013c7..f6ab043f842766f8f4aeef18c1dd3f570a288481 100644 (file)
@@ -12,5 +12,14 @@ ${MAKEINFO:=makeinfo} --html \
     --set-customization-variable CLOSE_QUOTE_SYMBOL=\" \
     --set-customization-variable OPEN_QUOTE_SYMBOL=\" \
     -o $html index.texi
+(
+    cd $html/download
+    export ATOM_ID="d089a6f2-cd88-47e5-aa11-55f60adfb977"
+    export NAME=goredo
+    export BASE_URL=http://www.goredo.cypherpunks.ru/download
+    export AUTHOR_EMAIL=goredo@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 {} +
index 9f81f9fa1f6faecbbdd05f6fdf50efc0ce96bcf8..b169b2f5c80595dd182c5f938430d34b572eee67 100755 (executable)
@@ -92,7 +92,8 @@ gpg --detach-sign --sign --local-user 3A528DDE952C7E93 "$tarball"
 gpg --enarmor < "$tarball".sig |
     sed "/^Comment:/d ; s/ARMORED FILE/SIGNATURE/" > "$tarball".asc
 meta4-create -file "$tarball" -mtime "$tarball" -sig "$tarball".asc \
-    http://www.goredo.cypherpunks.ru/download/"$tarball" > "$tarball".meta4
+    http://www.goredo.cypherpunks.ru/download/"$tarball" \
+    http://y.www.goredo.cypherpunks.ru/download/"$tarball" > "$tarball".meta4
 
 size=$(( $(stat -f %z $tarball) / 1024 ))
 hash=$(gpg --print-md SHA256 < $tarball)