aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
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 \