summaryrefslogtreecommitdiff
path: root/next-lib/src/Make.hs
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-10-06 15:27:14 +0000
committeraarne <aarne@cs.chalmers.se>2008-10-06 15:27:14 +0000
commitab1420510859c3534d9ba7ff1e2ecbf3e317bc6c (patch)
tree332728bfb845ae63ad0cef6dd68ee42711d9f109 /next-lib/src/Make.hs
parente765b97fc483d5e737794a0aa90890ab2a1b2028 (diff)
next-lib now compiles webalt ; removed subdir mathematical/ for simplicity
Diffstat (limited to 'next-lib/src/Make.hs')
-rw-r--r--next-lib/src/Make.hs7
1 files changed, 7 insertions, 0 deletions
diff --git a/next-lib/src/Make.hs b/next-lib/src/Make.hs
index 8a597b707..df85d5a4a 100644
--- a/next-lib/src/Make.hs
+++ b/next-lib/src/Make.hs
@@ -22,6 +22,7 @@ import System.Exit
default_gfc = "../../bin/gfc"
presApiPath = "-path=api:present"
+presSymbolPath = "-path=.:abstract:present:common:romance:scandinavian" ----
-- the languages have long directory names and short ISO codes (3 letters)
-- we also give the decodings for postprocessing linearizations, as long as grammars
@@ -84,7 +85,11 @@ make xx = do
ifx "lang" $ do
mapM_ (gfc pres [] . lang) (optl langsLang)
+ mapM_ (gfc pres presSymbolPath . symbol) (optl langsAPI)
copy "*/*.gfo" dir
+ ifx "compat" $ do
+ mapM_ (gfc pres [] . compat) (optl langsCompat)
+ copy "*/Compatibility*.gfo" dir
ifx "api" $ do
mapM_ (gfc pres presApiPath . try) (optl langsAPI)
mapM_ (gfc pres presApiPath . symbolic) (optl langsAPI)
@@ -128,6 +133,8 @@ demos abstr ls = "gr -number=100 | l -treebank " ++ unlexer abstr ls ++
" | ps -to_html | wf -file=resdemo.html"
lang (lla,la) = lla ++ "/All" ++ la ++ ".gf"
+compat (lla,la) = lla ++ "/Compatibility" ++ la ++ ".gf"
+symbol (lla,la) = lla ++ "/Symbol" ++ la ++ ".gf"
try (lla,la) = "api/Try" ++ la ++ ".gf"
symbolic (lla,la) = "api/Symbolic" ++ la ++ ".gf"