From de4cb4b56c92dcadfebac0219c087722b352795c Mon Sep 17 00:00:00 2001 From: ashimura Date: Sat, 30 Sep 2023 18:30:22 +0900 Subject: [PATCH] add Makefile to show how to use fix-id.pl --- releases/note2/Makefile | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 releases/note2/Makefile diff --git a/releases/note2/Makefile b/releases/note2/Makefile new file mode 100644 index 0000000..ff5ab69 --- /dev/null +++ b/releases/note2/Makefile @@ -0,0 +1,9 @@ +static = ~/Downloads/NOTE-wot-scripting-api-20230930.html + +### 1. edit index.html +### 2. generate a static HTML (e.g., NOTE-wot-scripting-api-20230930.html) using ReSpec +### 3. then use the following "update target" (by "make update") to get static.html and Overview.html +update: + mv $(static) static.html + cp static.html Overview.html; tidy -i -m Overview.html + cp Overview.html backup.html; ./fix-id.pl backup.html > Overview.html