Update Makefile
This commit is contained in:
@@ -307,7 +307,7 @@ trackchange:
|
|||||||
|
|
||||||
# Fix links in www directory
|
# Fix links in www directory
|
||||||
fix_links:
|
fix_links:
|
||||||
@find ./www -type f -name "*.html|robots.txt|sitemap.xml" -exec sed -i.bak \
|
@find ./www -type f \( -name "*.html" -o -name "robots.txt" -o -name "sitemap.xml" \) -exec sed -i.bak \
|
||||||
-e "s/{{< var branch >}}/$(branchname)/g" \
|
-e "s/{{< var branch >}}/$(branchname)/g" \
|
||||||
-e "s/{{< var branch >}}/$(branchname)/g" \
|
-e "s/{{< var branch >}}/$(branchname)/g" \
|
||||||
-e "s/{{< var pubtype >}}/$(pubtype)/g" \
|
-e "s/{{< var pubtype >}}/$(pubtype)/g" \
|
||||||
|
|||||||
Reference in New Issue
Block a user