mail[Wesnoth-commits] r24229 - in /website/start/1.4: ./ Makefile


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by jorda on March 02, 2008 - 19:20:
Author: jorda
Date: Sun Mar  2 19:20:23 2008
New Revision: 24229

URL: http://svn.gna.org/viewcvs/wesnoth?rev=24229&view=rev
Log:
Move generated pages to index.html.ll instead of index.ll.html (where ll is
the language code) so that language negotiation works fine.

Modified:
    website/start/1.4/   (props changed)
    website/start/1.4/Makefile

Propchange: website/start/1.4/
------------------------------------------------------------------------------
--- svn:ignore (original)
+++ svn:ignore Sun Mar  2 19:20:23 2008
@@ -1,1 +1,1 @@
-index.*.html
+index.html.*

Modified: website/start/1.4/Makefile
URL: 
http://svn.gna.org/viewcvs/wesnoth/website/start/1.4/Makefile?rev=24229&r1=24228&r2=24229&view=diff
==============================================================================
--- website/start/1.4/Makefile (original)
+++ website/start/1.4/Makefile Sun Mar  2 19:20:23 2008
@@ -5,16 +5,16 @@
 default: translations
 
 index.en.html: template.html
-       cp template.html index.en.html
+       cp template.html index.html.en
 
 translations: index.en.html
        @( cd po && po4a $(PO4A_OPTIONS) wesnoth-start-1.4.cfg || exit $? )
        @LANGS=$$(for lang in $(LANGUAGES); do \
                code=`echo $$lang | cut -d: -f 1`; \
                name=`echo $$lang | cut -d: -f 2`; \
-               echo -n "<li><a href='index.$$code.html'>$$name</a></li>"; \
+               echo -n "<li><a href='index.html.$$code'>$$name</a></li>"; \
        done) && \
-       for i in index.*.html; do \
+       for i in index.html.*; do \
                sed -i -e 
"/<!--LANGS-->./d;s,<!--LANGS-->,<!--LANGS-->$$LANGS\n<!--LANGS-->," $$i; \
        done
 
@@ -23,4 +23,4 @@
           exit $? )
 
 clean:
-       rm -f index.*.html
+       rm -f index.html.*




Related Messages


Powered by MHonArc, Updated Sun Mar 02 19:40:43 2008