Update Makefile
This commit is contained in:
@@ -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 {} +
|
||||
|
||||
Reference in New Issue
Block a user