Commit 371b4d98 authored by ross's avatar ross

[project @ 2003-05-01 10:46:19 by ross]

Make -t option to the script override the template file, just as -c
overrides the compiler, as the the documentation implies.  (Formerly -t
added an extra template file, which is not so useful.)
parent a1590fcf
tflag="--template=$HSC2HS_DIR/template-hsc.h"
for arg do
case "$arg" in
-c*) HSC2HS_EXTRA=;;
--cc=*) HSC2HS_EXTRA=;;
-t*) tflag=;;
--template=*) tflag=;;
--) break;;
esac
done
$HSC2HS_BINDIR/$HS_PROG -t $HSC2HS_DIR/template-hsc.h $HSC2HS_EXTRA "$@"
$HSC2HS_BINDIR/$HS_PROG $tflag $HSC2HS_EXTRA "$@"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment