File: htdocs_regen

package info (click to toggle)
memchan 2.2.1-6
  • links: PTS
  • area: main
  • in suites: lenny, squeeze
  • size: 2,984 kB
  • ctags: 625
  • sloc: ansic: 3,556; sh: 990; tcl: 725; makefile: 234
file content (12 lines) | stat: -rwxr-xr-x 235 bytes parent folder | download | duplicates (9)
1
2
3
4
5
6
7
8
9
10
11
12
#!/bin/sh

# Assume call with pwd = 'htdocs'.

for i in `ls raw/*.exp`
do
	echo $i '-->' `basename $i .exp`.html
	../tools/expand -rules ../tools/rules/memchan $i > `basename $i .exp`.html
done

rm index.php
ln -s index.html index.php