mirror of
git://git.tartarus.org/simon/puzzles.git
synced 2025-04-20 23:51:29 -07:00
Couple of fixes to the new web-page mechanism.
I missed some spaces in the autogenerated <span>s, and I generated the web page components including unfinished puzzles by mistake.
This commit is contained in:
6
Buildscr
6
Buildscr
@ -126,6 +126,9 @@ in puzzles do zip -j puzzles.zip winbin/*.exe puzzles.chm puzzles.hlp puzzles.cn
|
|||||||
# _parent_ directory, so be careful when we deliver it.)
|
# _parent_ directory, so be careful when we deliver it.)
|
||||||
in puzzles do ./makedist.sh $(Version)
|
in puzzles do ./makedist.sh $(Version)
|
||||||
|
|
||||||
|
# Build the autogenerated pieces of the main web page.
|
||||||
|
in puzzles do perl webpage.pl
|
||||||
|
|
||||||
ifneq "$(JAVA_UNFINISHED)" "" in puzzles do perl -i~ -pe 'print "!srcdir unfinished/\n" if /!srcdir icons/' Recipe
|
ifneq "$(JAVA_UNFINISHED)" "" in puzzles do perl -i~ -pe 'print "!srcdir unfinished/\n" if /!srcdir icons/' Recipe
|
||||||
ifneq "$(JAVA_UNFINISHED)" "" in puzzles do ln -s unfinished/group.R .
|
ifneq "$(JAVA_UNFINISHED)" "" in puzzles do ln -s unfinished/group.R .
|
||||||
ifneq "$(JAVA_UNFINISHED)" "" in puzzles do perl mkfiles.pl
|
ifneq "$(JAVA_UNFINISHED)" "" in puzzles do perl mkfiles.pl
|
||||||
@ -146,9 +149,6 @@ delegate emscripten
|
|||||||
return puzzles/js/*.js
|
return puzzles/js/*.js
|
||||||
enddelegate
|
enddelegate
|
||||||
|
|
||||||
# Build the autogenerated pieces of the main web page.
|
|
||||||
in puzzles do perl webpage.pl
|
|
||||||
|
|
||||||
# Set up .htaccess containing a redirect for the archive filename.
|
# Set up .htaccess containing a redirect for the archive filename.
|
||||||
in puzzles do echo "AddType application/octet-stream .chm" > .htaccess
|
in puzzles do echo "AddType application/octet-stream .chm" > .htaccess
|
||||||
in puzzles do echo "AddType application/octet-stream .hlp" >> .htaccess
|
in puzzles do echo "AddType application/octet-stream .hlp" >> .htaccess
|
||||||
|
@ -30,11 +30,11 @@ while (<$desc>) {
|
|||||||
'<image style="margin: 0.5em" alt="" title="%s" width=150 height=150 border=0 src="%s-web.png" />'.
|
'<image style="margin: 0.5em" alt="" title="%s" width=150 height=150 border=0 src="%s-web.png" />'.
|
||||||
'</td></tr>'.
|
'</td></tr>'.
|
||||||
'<tr><td align="center" style="font-size: 70%%"><code>[</code>'.
|
'<tr><td align="center" style="font-size: 70%%"><code>[</code>'.
|
||||||
'<a href="java/%s.html">java</a>'.
|
' <a href="java/%s.html">java</a> '.
|
||||||
'|'.
|
'|'.
|
||||||
'<a href="js/%s.html">js</a>'.
|
' <a href="js/%s.html">js</a> '.
|
||||||
'|'.
|
'|'.
|
||||||
'<a href="doc/%s.html#%s">manual</a>'.
|
' <a href="doc/%s.html#%s">manual</a> '.
|
||||||
'<code>]</code><br><code>[</code>'.
|
'<code>]</code><br><code>[</code>'.
|
||||||
'<a href="%s"><code>%s</code></a>'.
|
'<a href="%s"><code>%s</code></a>'.
|
||||||
'<code>]</code></td></tr>'.
|
'<code>]</code></td></tr>'.
|
||||||
|
Reference in New Issue
Block a user