-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
38 lines (29 loc) · 993 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
31
32
33
34
35
36
37
38
build:
tools/mdbuild.py
clean:
find . -name '*.bak' -exec rm -f {} +
find . -name '*~' -exec rm -f {} +
rm -rf htmldocs/en
serve:
tools/serve.py htmldocs 8000
todo:
tools/mdbuild.py --todo
sysdeps:
sudo apt-get install python-html2text python3-markdown python-pip python3-pip git spell ispell ibritish python3-setuptools
sudo pip3 install mdx-anchors-away mdx-callouts mdx-foldouts
sudo pip install linkchecker
multi:
tools/make_versions.sh
spell:
spell -b `find src/en -name "*.md" | grep -v commands.md` | sort | uniq
spell-commands:
spell -b src/en/commands.md | sort | uniq
check-links-build:
linkchecker htmldocs/en
check-links-production:
linkchecker \
--ignore-url=^https://jujucharms.com/docs/1.25 \
--ignore-url=^https://jujucharms.com/docs/2.0 \
--ignore-url=https://jujucharms.com/docs/stable \
https://jujucharms.com/docs/devel/getting-started
.PHONY: build check-links-build check-links-production clean multi serve spell spell-commands sysdeps