aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-17 21:32:34 -0400
committertdro <tdro@noreply.example.com>2022-06-17 21:32:34 -0400
commit699cc6f5783f0308e3d53aecece22499b58bd047 (patch)
treefcc02f3f9edd037c4300616fec1dfc6e05069af1 /Makefile
parent44cc591c6e14286328128879504fb996d5ad3270 (diff)
downloadcanory-699cc6f5783f0308e3d53aecece22499b58bd047.tar.gz
canory-699cc6f5783f0308e3d53aecece22499b58bd047.tar.bz2
canory-699cc6f5783f0308e3d53aecece22499b58bd047.zip
content/default/message: Add note on author list
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile13
1 files changed, 0 insertions, 13 deletions
diff --git a/Makefile b/Makefile
index 9507479..5c7ca1d 100644
--- a/Makefile
+++ b/Makefile
@@ -21,19 +21,6 @@ hugo:
server:
php -S 127.0.0.1:9294 -t public
-author:
-ifndef user
- @printf 'Error: No author user name given!\nUsage: make author user=default\n'
-else
- @cp -rT content/default content/$(user) || printf "Error: Author user '$(user)' data may already exist.\n"
- @cp -rT data/authors/default.yaml data/authors/$(user).yaml || printf "Error: Author user '$(user)' configuration may already exist.\n"
- _user=$(user) && \
- _name=$${_user^} && \
- grep -rl "default" content/$(user) | xargs sed --in-place 's/default/$(user)/g' && \
- grep -rl "default" data/authors/$(user).yaml | xargs sed --in-place 's/default/$(user)/g' && \
- grep -rl "Default" data/authors/$(user).yaml | xargs sed --in-place "s/Default/$$_name/g"
-endif
-
test:
validatornu \
public/index.html \