From ccc43b28f0fe8a4d2cec23fe3e1e73ee4cb829fa Mon Sep 17 00:00:00 2001 From: hallgren Date: Tue, 11 Mar 2014 13:46:10 +0000 Subject: [PATCH] WebSetup.hs: use the correct --gf-lib-path when building example grammars The directory should be the same as the one used in Setup.hs when building the RGL, where a build directory supplied by cabal is used. This is usually dist/build/rgl, but it could be different, e.g. when using a cabal sandbox. --- WebSetup.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/WebSetup.hs b/WebSetup.hs index 84265bf8e..1c6669bf1 100644 --- a/WebSetup.hs +++ b/WebSetup.hs @@ -68,7 +68,7 @@ setupWeb gf args dest pkg lbi = where tmp_dir = gfo_dirtmp cmd = gf++" -make -s -optimize-pgf --gfo-dir="++tmp_dir++ - " --gf-lib-path=dist""build""rgl"++ + " --gf-lib-path="++buildDir lbi "rgl"++ -- " --output-dir="++grammars_dir++ -- has no effect?! " "++src