-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (22 loc) · 1.08 KB
/
Makefile
File metadata and controls
28 lines (22 loc) · 1.08 KB
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
.PHONY: parts
all: parts burner
view:
#gopen http://localhost:1313/pi/ &
gopen http://localhost:1313/pi/tutorial/raspberry-burn-windows/ &
doc:
hugo serve -D
parts:
python bin/parts.py parts/README-parts-list.yml> tmp.md 2>&1
cms man readme -p --tag="PARTS" --file=content/en/docs/hardware/parts/parts.md --include=tmp.md
rm -rf tmp.md
python bin/parts-cluster.py parts/README-parts-3.yml > tmp.md 2>&1
cms man readme -p --tag="PARTS" --file=content/en/docs/hardware/parts/parts-3-nodes.md --include=tmp.md
rm -rf tmp.md
python bin/parts-cluster.py parts/README-parts-8.yml > tmp.md 2>&1
cms man readme -p --tag="PARTS" --file=content/en/docs/hardware/parts/parts-8-nodes.md --include=tmp.md
rm -rf tmp.md
burner:
cd content/en/docs/software/burner; wget https://raw.githubusercontent.com/cloudmesh/cloudmesh-pi-burn/main/README.md
cd content/en/docs/software/burner; tail -n +2 README.md > README-noheader.md 2>&1
cd content/en/docs/software/burner; cat meta.md-include README-noheader.md > _index.md 2>&1
cd content/en/docs/software/burner; rm -f README.md README-noheader.md