summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2022-03-11 13:05:51 +0900
committerKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2022-03-15 10:08:19 +0900
commit5ddf4638e1ee4d5ff13da65d42777a19fdf65944 (patch)
treebdedd77f9ded5b3d31797b59c9256af64763c515
parent97e7d0cb0d7994b677f71d03a0b287cf482f3a56 (diff)
periject: Fix menu and subindex file locations part2
It seems some browther can't handle symbolic link correctly (some browther think it at original path, some browther think it as linked path). Inidex.html is designed to located under ${periject}/index.html. But the reason why it is created inside ${periject}/html is keeping simple Makefile. Thus it is using link to under ${periject}. This patch uses hard link instead of symbolic link for it. Tested-by: Geert Uytterhoeven <geert+renesas@glider.be> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
-rw-r--r--Makefile2
-rwxr-xr-xscripts/html_index.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index e10f939..6fbf38e 100644
--- a/Makefile
+++ b/Makefile
@@ -41,7 +41,7 @@ html/schedule.html: projects/schedule.py scripts/schedule.py
@./scripts/timesheet.py > $@
index.html:
- @ln -sf html/index.html .
+ @ln -f html/index.html .
${HTMLDIR} ${WIKIDIR}:
mkdir -p $@
diff --git a/scripts/html_index.py b/scripts/html_index.py
index 0da5b05..50415ca 100755
--- a/scripts/html_index.py
+++ b/scripts/html_index.py
@@ -22,8 +22,8 @@ class periject_html(html_base.myhtml):
# |menu|body|
# | | |
with html("frameset", {"cols":"{},*".format(self.config("html-default-cols"))}):
- html("frame", {"src":"./menu.html", "name":"menu"}).print()
- html("frame", {"src":"./subindex.html", "name":"body"}).print()
+ html("frame", {"src":"./html/menu.html", "name":"menu"}).print()
+ html("frame", {"src":"./html/subindex.html", "name":"body"}).print()
#====================================
#