diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-05-27 14:05:19 +0900 |
---|---|---|
committer | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2021-05-27 14:09:14 +0900 |
commit | 64d2fcf1fbefd598706c3c6279ca92d1ce3f50fd (patch) | |
tree | a1b75e524c9c59760c2488f541643000a62e0d32 /Makefile | |
parent | 228b03b3f8e4a7d7d3ec341b89905ab3909013a2 (diff) |
Makefile: always remake index.html
Current implementation doesn't update index.html even though menu
and/or subindex were updated.
Thus, browser uses old index.html, and we will miss new menu.
This patch always remakes index.html to solve it.
This patch also use "ln -sf" instead of "ln -f" for it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -11,6 +11,7 @@ NOPARAM = subindex body index BSP = bsp41x bsp39x all: wiki/Chat_log.wiki .git/hooks/pre-commit + @rm -fr index.html html/index.html @make -s ${HTMLDIR} ${WIKIDIR} @make -s LISTS="${MEMBER}" TARGET=finds EXP1=member EXP2=-a loop @make -s LISTS="${STATUS}" TARGET=finds EXP1=status EXP2=-s loop @@ -40,7 +41,7 @@ html/schedule.html: projects/schedule.py scripts/schedule.py @./scripts/timesheet.py > $@ index.html: - @ln -f html/index.html . + @ln -sf html/index.html . ${HTMLDIR} ${WIKIDIR}: mkdir -p $@ |