-
Notifications
You must be signed in to change notification settings - Fork 0
/
www.do
25 lines (25 loc) · 1.07 KB
/
www.do
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
redo-ifchange *.texi
html=gogost.html
rm -f $html/*.html
${MAKEINFO:-makeinfo} --html \
-D "VERSION `./version`" \
--set-customization-variable NO_CSS=1 \
--set-customization-variable SECTION_NAME_IN_TITLE=1 \
--set-customization-variable TREE_TRANSFORMATIONS=complete_tree_nodes_menus \
--set-customization-variable FORMAT_MENU=menu \
--set-customization-variable EXTRA_HEAD='<link rev="made" href="mailto:[email protected]">' \
--set-customization-variable DATE_IN_HEADER=1 \
--set-customization-variable ASCII_PUNCTUATION=1 \
--output $html www.texi
cp PUBKEY-* $html/
(
cd $html
export ATOM_ID="34c4c603-9fa7-4441-a089-881d216d8638"
export NAME=GoGOST
export BASE_URL=http://www.gogost.cypherpunks.ru
export [email protected]
~/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 {} +