-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
30 lines (25 loc) · 942 Bytes
/
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
ontologyVer=0.3
widoco_url=https://github.com/dgarijo/Widoco/releases/download/v1.4.17/java-11-widoco-1.4.17-jar-with-dependencies.jar
scope_css_py=./scope-widoco-css.py
.PHONY: widoco snapshot
widoco: widoco.jar
mkdir -p widoco
mkdir -p widoco/doc/sections
mkdir -p public/doc
wget -q -P widoco https://reshare-dtc.github.io/reshare-ontology/$(ontologyVer)/ontology.rdf
java -jar widoco.jar -ontFile widoco/ontology.rdf -outFolder widoco -webVowl -rewriteAll -excludeIntroduction
cp -R widoco/doc/sections public
cp -R widoco/doc/resources public
cp -R widoco/doc/webvowl public
python3 $(scope_css_py)
widoco.jar:
wget -q -O widoco.jar $(widoco_url)
clean:
rm -rf widoco
rm -rf public/sections
rm -rf public/resources/*.css
rm -rf public/resources/*.js
rm -rf public/webvowl
respec-snapshot:
npx -y respec -t 120 --src public/index-src.html --out public/index.html --localhost
python scripts/fix_widoco_html_errors.py