Add index pages for directories.

Some links point to directories assuming there will be a directory listing,
which I don't think is even true on Sourceforge any more.
This commit is contained in:
Simon Howard
2023-08-03 23:53:43 -04:00
parent 5c43781e32
commit aa1dae6faa
10 changed files with 113 additions and 37 deletions

14
mkindex Normal file
View File

@ -0,0 +1,14 @@
#!/bin/bash
mkhtml() {
echo "<html><body><ul>"
for d in *; do
if [ "$d" != index.html ]; then
echo "<li><a href='$d'>$d</a>"
fi
done
echo "</ul></body></html>"
}
mkhtml > index.html