forked from GitHub/gf-core
Make for compatibility
This commit is contained in:
@@ -66,6 +66,9 @@ langsDemo = langsLang `except` ["Ara","Hin","Ina","Tha"]
|
|||||||
-- languages for which langs.pgf is built
|
-- languages for which langs.pgf is built
|
||||||
langsPGF = langsTest `only` ["Eng","Fre","Swe"]
|
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"
|
treebankExx = "exx-resource.gft"
|
||||||
treebankResults = "exx-resource.gftb"
|
treebankResults = "exx-resource.gftb"
|
||||||
|
|
||||||
@@ -86,8 +89,8 @@ make xx = do
|
|||||||
mapM_ (gfc pres [] . lang) (optl langsLang)
|
mapM_ (gfc pres [] . lang) (optl langsLang)
|
||||||
copy "*/*.gfo" dir
|
copy "*/*.gfo" dir
|
||||||
ifx "compat" $ do
|
ifx "compat" $ do
|
||||||
mapM_ (gfc pres [] . compat) (optl langsLang)
|
mapM_ (gfc pres [] . compat) (optl langsCompat)
|
||||||
copy "*/*.gfo" dir
|
copy "*/Compatibility*.gfo" dir
|
||||||
ifx "api" $ do
|
ifx "api" $ do
|
||||||
mapM_ (gfc pres presApiPath . try) (optl langsAPI)
|
mapM_ (gfc pres presApiPath . try) (optl langsAPI)
|
||||||
copy "*/*.gfo" dir
|
copy "*/*.gfo" dir
|
||||||
|
|||||||
@@ -22,6 +22,13 @@ api:
|
|||||||
math:
|
math:
|
||||||
$(RUNMAKE) math
|
$(RUNMAKE) math
|
||||||
|
|
||||||
|
compat:
|
||||||
|
gfc */Compatibility*.gf
|
||||||
|
cp -p */Compatibility*.gfo ../alltenses/
|
||||||
|
cp -p */Compatibility*.gfo ../present/
|
||||||
|
# $(RUNMAKE) present compat
|
||||||
|
# $(RUNMAKE) compat
|
||||||
|
|
||||||
test:
|
test:
|
||||||
$(RUNMAKE) test
|
$(RUNMAKE) test
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user