blob: fa49132399bed4d1df6df1a4d2f918fac83c9b73 (
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
|
CMD = ./scripts/html.py
ALLYAML = $(shell ./scripts/find.py -a)
FOLDERS = $(subst ./,,$(shell cd ./projects; find -type d))
DST = $(subst yaml,html,$(subst projects,html,${SRC}))
TEAM = Core IO MM
MEMBER = BSP Geert Jacopo Kaneko Kieran Laurent Magnus Marek Morimoto Niklas Shimoda Simon Ulrich Wolfram
STATUS = New Active Blocked Paused Done Abandoned
SPF = menu subindex body
all: summary spf files index.html members statuss teams html/bsp.html
summary:
@for folder in ${FOLDERS}; do\
mkdir -p ./html/$${folder};\
make -s DIR=$${folder} ./html/$${folder}/summary.html;\
done;
html/${DIR}/summary.html: ./projects/${DIR} ${CMD}
@echo html/${DIR}/summary.html
${CMD} summary projects/${DIR} > ./html/${DIR}/summary.html; \
spf:
@for cmd in ${SPF}; do\
make -s TGT=$${cmd} html/$${cmd}.html;\
done;
${SPF:%=html/%.html}: projects/* ${CMD}
@echo $@
${CMD} ${TGT} > $@
index.html: ${CMD}
@echo $@
@${CMD} index > $@
files:
@for file in ${ALLYAML}; do\
make -s SRC=$${file} file;\
done;
file:
@make -s SRC=${SRC} DST=${DST} TGT=task ${DST}
members:
@for mem in ${MEMBER}; do\
make -s MEM=$${mem} member;\
done;
member:
@make -s SRC="$(shell ./scripts/find.py -a ${MEM})" DST=./html/${MEM}.html TGT="member ${MEM}" ./html/${MEM}.html
statuss:
@for status in ${STATUS}; do\
make -s STA=$${status} status;\
done;
status:
@make -s SRC="$(shell ./scripts/find.py -s ${STA})" DST=./html/${STA}.html TGT="status ${STA}" ./html/${STA}.html
teams:
@for team in ${TEAM}; do\
make -s TM=$${team} team;\
done;
team:
@make -s SRC="$(shell ./scripts/find.py -t ${TM})" DST=./html/${TM}.html TGT="team ${TM}" ./html/${TM}.html
${DST}: ${SRC} ${CMD}
@echo "${DST}"
${CMD} ${TGT} ${SRC} > $@
html/bsp.html: ${ALLYAML} ${CMD}
@echo $@
@${CMD} bsp ${ALLYAML} > $@
clean:
@rm -fr html
@rm -fr *.html
|