From b764d6e5b046b179a06375b503bc05ba377f19fb Mon Sep 17 00:00:00 2001 From: aarne Date: Tue, 9 Sep 2008 20:02:19 +0000 Subject: [PATCH] Make for compatibility --- lib/resource/Make.hs | 7 +++++-- lib/resource/Makefile | 7 +++++++ 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/lib/resource/Make.hs b/lib/resource/Make.hs index c230b14e6..973e6def1 100644 --- a/lib/resource/Make.hs +++ b/lib/resource/Make.hs @@ -66,6 +66,9 @@ langsDemo = langsLang `except` ["Ara","Hin","Ina","Tha"] -- languages for which langs.pgf is built langsPGF = langsTest `only` ["Eng","Fre","Swe"] +-- languages for which Compatibility exists (to be extended) +langsCompat = langsLang `only` ["Cat","Eng","Fin","Fre","Ita","Spa","Swe"] + treebankExx = "exx-resource.gft" treebankResults = "exx-resource.gftb" @@ -86,8 +89,8 @@ make xx = do mapM_ (gfc pres [] . lang) (optl langsLang) copy "*/*.gfo" dir ifx "compat" $ do - mapM_ (gfc pres [] . compat) (optl langsLang) - copy "*/*.gfo" dir + mapM_ (gfc pres [] . compat) (optl langsCompat) + copy "*/Compatibility*.gfo" dir ifx "api" $ do mapM_ (gfc pres presApiPath . try) (optl langsAPI) copy "*/*.gfo" dir diff --git a/lib/resource/Makefile b/lib/resource/Makefile index e35944bab..c5cd520d0 100644 --- a/lib/resource/Makefile +++ b/lib/resource/Makefile @@ -22,6 +22,13 @@ api: math: $(RUNMAKE) math +compat: + gfc */Compatibility*.gf + cp -p */Compatibility*.gfo ../alltenses/ + cp -p */Compatibility*.gfo ../present/ +# $(RUNMAKE) present compat +# $(RUNMAKE) compat + test: $(RUNMAKE) test