diff options
author | 53hornet <atc@53hor.net> | 2021-10-02 11:59:08 -0400 |
---|---|---|
committer | 53hornet <atc@53hor.net> | 2021-10-02 11:59:08 -0400 |
commit | e0e45f0697ea0858fbea34cffc824f80105e8d7f (patch) | |
tree | d594946c0afe2a8f1efeba2b21ab22f07ddfb22b /Makefile | |
parent | 70bc00d5ff256e06c1c7d47c2af00d1863f53f6b (diff) | |
download | 53hor-e0e45f0697ea0858fbea34cffc824f80105e8d7f.tar.xz 53hor-e0e45f0697ea0858fbea34cffc824f80105e8d7f.zip |
published hudson fan shroud, replaced makefile with scripts, added some
drafts
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 17 |
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 - |