File: htdocs_regen

package info (click to toggle)
memchan 2.3-2
  • links: PTS
  • area: main
  • in suites: wheezy
  • size: 3,868 kB
  • sloc: ansic: 3,320; sh: 990; tcl: 687; makefile: 51
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