1
0
forked from GitHub/gf-core

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.
This commit is contained in:
hallgren
2014-03-11 13:46:10 +00:00
parent ccda8f00e1
commit ccc43b28f0

View File

@@ -68,7 +68,7 @@ setupWeb gf args dest pkg lbi =
where
tmp_dir = gfo_dir</>tmp
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