From c0becec2bd70d8dfb45554f9928c4cba7bc3109e Mon Sep 17 00:00:00 2001 From: hallgren Date: Fri, 14 Oct 2011 19:34:55 +0000 Subject: 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. --- Setup.hs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'Setup.hs') diff --git a/Setup.hs b/Setup.hs index 38b4ed1f6..76dae24d2 100644 --- a/Setup.hs +++ b/Setup.hs @@ -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 -- cgit v1.2.3