From 8b6b087542d44c17a3ce7c5b20a579155b149227 Mon Sep 17 00:00:00 2001 From: ming Date: Mon, 24 Nov 2025 14:27:12 +0800 Subject: [PATCH] Update Makefile --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 3ea5644..a8610c5 100644 --- a/Makefile +++ b/Makefile @@ -309,9 +309,13 @@ trackchange: fix_links: @find ./www -type f -name "*.html" -exec sed -i.bak \ -e "s/{{< var branch >}}/$(branchname)/g" \ + -e "s/{{< var branch >}}/$(branchname)/g" \ -e "s/{{< var pubtype >}}/$(pubtype)/g" \ + -e "s/{{< var pubtype >}}/$(pubtype)/g" \ -e "s/{{< var projtype >}}/$(projtype)/g" \ + -e "s/{{< var projtype >}}/$(projtype)/g" \ -e "s/{{< var reponame >}}/$(reponame)/g" \ + -e "s/{{< var reponame >}}/$(reponame)/g" \ -e "s/$(reponame)\/blob/$(reponame)\/raw\/branch/g" \ -e "s/$(reponame)\/edit/$(reponame)\/_edit/g" {} + @find ./www -type f -name "*.bak" -exec rm {} +