mirror of
https://github.com/simonmichael/hledger.git
synced 2024-12-25 11:24:16 +03:00
make: update home page rule with new wiki page name
This commit is contained in:
parent
7edf0db4f5
commit
3267b640a2
2
Makefile
2
Makefile
@ -910,7 +910,7 @@ site-build: site/hakyll-std/hakyll-std site/manual.md \
|
||||
site/index.md: wiki/_Sidebar.md \
|
||||
$(call def-help,site/index.md, update home page with ./wiki/_Sidebar content )
|
||||
(sed -ne '1,/<!-- WIKICONTENT -->/ p' site/index.md ; \
|
||||
sed -ne '/^#.*User/,$$ p' wiki/_Sidebar.md \
|
||||
sed -ne '/^#.*Cookbook/,$$ p' wiki/_Sidebar.md \
|
||||
| perl -p \
|
||||
-e 's/\[\[([^\|]*)\|([^\]]*)\]\]/[\1](https:\/\/github.com\/simonmichael\/hledger\/wiki\/\2)/g;' \
|
||||
-e 's/\[\[([^\]]*)\]\]/[\1](https:\/\/github.com\/simonmichael\/hledger\/wiki\/\1)/g;' \
|
||||
|
Loading…
Reference in New Issue
Block a user