blob: b1a944276cadacc8414afc33f81ea3a6c3fd9786 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
compile = runghc Compile
all: fin demo missing
demo: compdemo linkdemo
compdemo:
$(compile) Bul Dan Dut Eng Fre Ger Ita Nor Ron Spa Swe DisambPhrasebookEng
linkdemo:
$(compile) -link Eng Bul Dan Dut Fin Fre Ger Ita Nor Ron Spa Swe DisambPhrasebookEng
#separate, because slow...
fin:
$(compile) Fin
pgfs:
$(compile) Bul Cat Dan Dut Eng Fin Fre Ger Ita Nor Pol Ron Rus Spa Swe
koe:
$(compile) Eng Fre DisambPhrasebookEng
missing:
echo "pg -missing | wf -file=missing.txt" | gf Phrasebook.pgf
doc:
cat Sentences.gf Words.gf >Ontology.gf
gfdoc Ontology.gf
rm -f Ontology.gf
cat SentencesI.gf WordsEng.gf >Implementation.gf
gfdoc Implementation.gf
txt2tags -thtml phrasebook.txt
rm -f Ontology.gf Implementation.gf
upload:: Phrasebook.pgf
rsync -a Phrasebook.pgf www.grammaticalframework.org:/usr/local/www/GF-demos/www/grammars
|