Bug fix in setup for gf -server mode

Use the command "dist/build/gf/gf" instead of "gf" to compile the sample
grammars for the minibar, to avoid failing if gf is installed in a directory
which is not in the $PATH.
This commit is contained in:
hallgren
2011-10-14 19:34:55 +00:00
parent bd7cb1ab41
commit c0becec2bd
2 changed files with 8 additions and 6 deletions

View File

@@ -29,11 +29,13 @@ main = defaultMainWithHooks simpleUserHooks{ preBuild =checkRGLArgs
where
gfPostInst args flags pkg lbi =
do installRGL args flags pkg lbi
installWeb args flags pkg lbi
let gf = default_gf pkg lbi
installWeb gf args flags pkg lbi
gfPostCopy args flags pkg lbi =
do copyRGL args flags pkg lbi
copyWeb args flags pkg lbi
let gf = default_gf pkg lbi
copyWeb gf args flags pkg lbi
--------------------------------------------------------
-- Commands for building the Resource Grammar Library