forked from grammarware/grammarware.github.io
/
Makefile
40 lines (32 loc) · 1.28 KB
/
Makefile
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
37
38
39
40
all:
upload:
scp index.html rlaemmel,slps@web.sourceforge.net:htdocs
sync:
rsync -avz --delete --exclude=".svn" --exclude="Makefile" --exclude="_dev" * sspider,slps@web.sourceforge.net:htdocs
clean:
rm -f *~ zoo/*/*
build:
make zooprj
make tmprj
zooprj:
make -f _dev/Makefile.c.zoo
make -f _dev/Makefile.cpp.zoo
make -f _dev/Makefile.csharp.zoo
make -f _dev/Makefile.for.zoo
make -f _dev/Makefile.java.zoo
make -f _dev/Makefile.mod.zoo
make -f _dev/Makefile.xpath.zoo
make -f _dev/Makefile.fl.tank
make -f _dev/Makefile.ebnf.tank
make -f _dev/Makefile.tescol.tank
make zoolists
zoolists:
xsltproc --stringparam date `date +"%d/%m/%Y"` _dev/listgrammars.xslt _dev/zoo.xml > zoo/index.html
xsltproc --stringparam date `date +"%d/%m/%Y"` _dev/listgrammars.xslt _dev/tank.xml > tank/index.html
xsltproc _dev/links2html.xslt _dev/java-grammars.xml | python ../topics/export/hypertext/closemeta.py > zoo/java/links.html
tmprj:
ls -1 ../topics/testing/gbtf/tests/java/*.bgf | xargs -n1 _dev/conv java
ls -1 ../topics/testing/gbtf/tests/tescol/*.bgf | xargs -n1 _dev/conv tescol
@#xsltproc ../shared/xsl/links2html.xslt _dev/testmatch.xml | python ../shared/python/closemeta.py > testmatch/index.html
test:
xmllint --noout --schema ../shared/xsd/links.xsd _dev/java-grammars.xml