#!/bin/sh

test -d $1 || echo "Could not find dir $1.  Are you building locally?"

#echo "m4_include(stdlib.mc)"
#echo "_START(Download packages)"
#echo
#echo "_PJ()"
#echo "Please select the packages appropriate to the distribution of GNU/Linux that"
#echo "you wish to install the software on.  Note that the SRPMS are source code"
#echo "packages."
#echo
#echo "_PJ()"
#echo "<dl>"

for file in *.txt; do
	filename=$(basename $file)
	#echo "_LINK(${filename/.txt/}, _SERVER/$dirname/$filename.html)<br>"
	echo "_LINK(${filename/.txt/}, ${filename/.txt/.html})<br>"
done

#echo "</dl>"
#echo "_STOP()"

	
