/[soft]/indexhtml/trunk/about/create_html.sh
ViewVC logotype

Contents of /indexhtml/trunk/about/create_html.sh

Parent Directory Parent Directory | Revision Log Revision Log


Revision 485 - (show annotations) (download) (as text)
Mon Feb 7 23:18:17 2011 UTC (13 years, 2 months ago) by dmorgan
File MIME type: application/x-sh
File size: 482 byte(s)
Import cleaned indexhtml
1 #!/bin/sh
2
3 BASEDIR=".."
4 XMLFILE="index.html.in"
5 PODIR='./po'
6 HTMLDIR='./html'
7
8 if [ ! -d $HTMLDIR ]; then
9 mkdir $HTMLDIR
10 fi
11
12 cd $HTMLDIR
13
14 intltool-merge --xml-style -m ../${PODIR} ../${XMLFILE} index.html
15
16 for indexdir in `ls`; do
17 mv $indexdir/index.html index-$indexdir.html
18 rm -rf $indexdir
19 done
20
21 if [ -e "index-C.html" ]; then
22 mv index-C.html index.html
23 fi
24
25 cd ..
26 intltool-merge --desktop-style -m po about-mageia.desktop.in about-mageia.desktop

Properties

Name Value
svn:eol-style native
svn:executable *

  ViewVC Help
Powered by ViewVC 1.1.30