summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile17
1 files changed, 0 insertions, 17 deletions
diff --git a/Makefile b/Makefile
deleted file mode 100644
index 8dcd6e5..0000000
--- a/Makefile
+++ /dev/null
@@ -1,17 +0,0 @@
-# Written for FreeBSD make(1), or pmake. Not tested with GNU make.
-
-EDITOR = $$EDITOR
-POST_T = includes/template.php
-
-.PHONY: serve post
-
-serve:
- php -S localhost:8000
-
-draft:
- @read -rp "Title: " TITLE; \
- SHORT_DATE=`date +"%Y-%m-%d"`; \
- FILENAME=drafts/$$SHORT_DATE-`printf "$$TITLE" | tr -Cs "[:alnum:]" '-' | tr "[:upper:]" "[:lower:]"`.php; \
- sed -i '' "s/{{ title }}/$$TITLE/g" $$FILENAME; \
- $$EDITOR $$FILENAME
-