1
0
forked from GitHub/gf-rgl

Remove pgf build command

This commit is contained in:
John J. Camilleri
2018-08-04 16:27:20 +02:00
parent 1496a05060
commit cc8bb02489
2 changed files with 11 additions and 11 deletions

20
Make.hs
View File

@@ -191,16 +191,16 @@ rglCommands =
, RGLCommand "api" False $ gfcp [t,sc]
, RGLCommand "compat" False $ gfcp [c]
, RGLCommand "pgf" False $ \modes args bi ->
parallel_ [
do let dir = getRGLBuildDir bi mode
createDirectoryIfMissing True dir
sequence_ [run_gfc bi ["-s","-make","-name=Lang"++la,
dir ++ "/Lang" ++ la ++ ".gfo"]
| l <- optl langsPGF args, let la = langCode l]
run_gfc bi (["-s","-make","-name=Lang"]++
["Lang" ++ langCode l ++ ".pgf"|l <- optl langsPGF args])
| mode <- modes]
-- , RGLCommand "pgf" False $ \modes args bi ->
-- parallel_ [
-- do let dir = getRGLBuildDir bi mode
-- createDirectoryIfMissing True dir
-- sequence_ [run_gfc bi ["-s","-make","-name=Lang"++la,
-- dir ++ "/Lang" ++ la ++ ".gfo"]
-- | l <- optl langsPGF args, let la = langCode l]
-- run_gfc bi (["-s","-make","-name=Lang"]++
-- ["Lang" ++ langCode l ++ ".pgf"|l <- optl langsPGF args])
-- | mode <- modes]
, RGLCommand "parse" False $ \modes args bi ->
gfc bi modes (summary parse) (map parse (optl langsParse args))

View File

@@ -62,7 +62,7 @@ clean
`lang`,
`api`,
`compat`,
`pgf`,
<!-- `pgf`, -->
`parse`
(default is `all`)
- `MODE` is one of: