diff options
| author | hallgren <hallgren@chalmers.se> | 2014-03-11 13:46:10 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2014-03-11 13:46:10 +0000 |
| commit | ccc43b28f0fe8a4d2cec23fe3e1e73ee4cb829fa (patch) | |
| tree | 846e58290fe7da6e4d5fb5a65d6d7dadb583c9d6 /WebSetup.hs | |
| parent | ccda8f00e169ae2db24de6e9295bd1b256bf30a8 (diff) | |
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.
Diffstat (limited to 'WebSetup.hs')
| -rw-r--r-- | WebSetup.hs | 2 |
1 files changed, 1 insertions, 1 deletions
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_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 |
