summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-12-23 17:45:32 +0900
committerKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2019-12-24 13:26:55 +0900
commitffd8575eb1099413a1bc248007737124f0859314 (patch)
tree9009843152852d4a8dadc4df95158712652a5805 /Makefile
parentdc71f3518c95f8d9d306e8a4e53bc9bd2e9928e3 (diff)
chatlog: Auto update for Chat log
This patch adds chatlog.py and auto update Chat log. Each leader need to do is just put chatlog under wiki/Chat_log by this patch. Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 827f7b7..b46e9f0 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ HTML = ./scripts/myhtml.py
FIND = ./scripts/find.py
ALLYAML = $(shell ${FIND} -all)
PROJECT = $(subst ./,,$(shell cd ./projects; find -type d))
-WIKI = $(shell find wiki -name "*.wiki")
+WIKI = $(shell ls wiki/*.wiki)
WIKIDIR = html/wiki
HTMLDIR = $(addprefix html/, ${PROJECT})
PRODIR = $(shell find ./projects -type d)
@@ -11,7 +11,7 @@ MEMBER = BSP Geert Jacopo Kaneko Kieran Laurent Magnus Marek Morimoto Niklas Shi
STATUS = New Active Blocked Paused Done Abandoned
NOPARAM = menu subindex body index
-all:
+all: wiki/Chat_log.wiki
@make -s .git/hooks/pre-commit
@make -s ${HTMLDIR} ${WIKIDIR}
@make -s LISTS="${MEMBER}" TARGET=finds EXP1=member EXP2=-a loop
@@ -27,6 +27,10 @@ all:
.git/hooks/pre-commit:
@ln -s ../../scripts/pre-commit.sh .git/hooks/pre-commit
+wiki/Chat_log.wiki: wiki/Chat_log
+ @echo $@
+ @./scripts/chatlog.py > $@
+
index.html:
@ln html/index.html .
@@ -58,3 +62,4 @@ wikis:
clean:
@rm -fr html
@rm -fr *.html
+ @rm -fr wiki/Chatlog.wiki