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

View File

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