summaryrefslogtreecommitdiff
path: root/next-lib/src/Make.hs
diff options
context:
space:
mode:
authoraarne <aarne@cs.chalmers.se>2008-10-06 12:49:13 +0000
committeraarne <aarne@cs.chalmers.se>2008-10-06 12:49:13 +0000
commite765b97fc483d5e737794a0aa90890ab2a1b2028 (patch)
treee3b558ba236ae9797ceb9be4e06c514abac81890 /next-lib/src/Make.hs
parent394050d9f7d90f5b7a5905175bd51733048bf481 (diff)
simplified 1.5 by removing mathematical/
Diffstat (limited to 'next-lib/src/Make.hs')
-rw-r--r--next-lib/src/Make.hs18
1 files changed, 3 insertions, 15 deletions
diff --git a/next-lib/src/Make.hs b/next-lib/src/Make.hs
index 973e6def1..8a597b707 100644
--- a/next-lib/src/Make.hs
+++ b/next-lib/src/Make.hs
@@ -49,14 +49,11 @@ langsCoding = [
langs = map fst langsCoding
-- languagues for which to compile Lang
-langsLang = langs `except` ["Ara"]
+langsLang = langs `except` ["Ara","Bul","Ina","Rus"]
-- languages for which to compile Try
langsAPI = langsLang `except` ["Ara","Bul","Hin","Ina","Rus","Tha"]
--- languages for which to compile Mathematical
-langsMath = langsAPI
-
-- languages for which to run treebank test
langsTest = langsLang `except` ["Ara","Bul","Cat","Hin","Rus","Spa","Tha"]
@@ -88,17 +85,10 @@ make xx = do
ifx "lang" $ do
mapM_ (gfc pres [] . lang) (optl langsLang)
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)
copy "*/*.gfo" dir
- ifx "math" $ do
- mapM_ (gfc False [] . math) (optl langsMath)
- copy "mathematical/*.gfo" "../mathematical"
- mapM_ (gfc False [] . symbolic) (optl langsMath)
- copy "mathematical/Symbolic*.gfo" "../mathematical"
ifxx "pgf" $ do
run_gfc $ ["-s","--make","--name=langs","--parser=off",
"--output-dir=" ++ dir]
@@ -138,10 +128,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"
try (lla,la) = "api/Try" ++ la ++ ".gf"
-math (lla,la) = "mathematical/Mathematical" ++ la ++ ".gf"
-symbolic (lla,la) = "mathematical/Symbolic" ++ la ++ ".gf"
+symbolic (lla,la) = "api/Symbolic" ++ la ++ ".gf"
except ls es = filter (flip notElem es . snd) ls
only ls es = filter (flip elem es . snd) ls