Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 548fe7f0e0db4cb6a16fd5da9a1d505f > files > 52

libmuparser-devel-1.28-6mdv2010.0.i586.rpm

#!/bin/bash

#
# This script is used for building the muParser html page from
# html templates.
#

rm -rf ../*.html

#
# add navigation bar to all html templates starting with mup_*
#
for file in mup_*
do
  echo processing $file
  cat navigation.html | sed "/\$PLACEHOLDER/r $file" > ../$file
done

# create index.html
cp ../mup_intro.html ../index.html
cat ../mup_intro.html | sed "/\$STAT_COUNTER/r stat_counter.html" > ../index.html