gcc -E -P -x 'c' ../../../$1/$1.t > ../../../$1/$1.i
gcc -E -P -x 'c' ../../../$1/$1_init.t > ../../../$1/$1_init.i

JEEVESLIBDIR=../lib:./
JEEVESTEMPLATEDIR=.
perl  -I../lib -I.  ../jeeves -q -s co -t modules_doc.tpl ../../../$1/$1.i
perl  -I../lib -I.  ../jeeves -q -s co -t modules_c.tpl ../../../$1/$1.i
perl  -I../lib -I.  ../jeeves -q -s co -t modules_sql.tpl ../../../$1/$1.i
perl  -I../lib -I.  ../jeeves -q -s co -t init_data.tpl ../../../$1/$1_*_init.i