From 02145a11822609d633ec0ffa02381725c180acb0 Mon Sep 17 00:00:00 2001 From: Medium Fries Date: Thu, 21 Mar 2019 13:34:38 -0700 Subject: [PATCH] no longer need this old makefile --- makefile | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 makefile diff --git a/makefile b/makefile deleted file mode 100644 index b833d5c..0000000 --- a/makefile +++ /dev/null @@ -1,41 +0,0 @@ -# update style recipe and do some more code review -pd=pandoc -style=--css style.css - -navbar='./templates/navbar.html' - -# Builder directories -pageDir='./markdown/pages/' -postDir='./markdown/post/' - -pages=$(wildcard './markdown/pages/'*md) -posts=$(wildcard markdown/post/*.md) - -# Site directories -root='./tmp/' -sitePost=$(root)/post/ -sitePage=$(root)/page/ - -.PHONY: posts pages - -# Pattern matching things -$(sitePost)%.html: $(postDir)/%.md - $(pd) $< $(style) -s -o $@ - -$(sitePage)%.html: $(pageDir)/%.md - $(pd) $< $(style) -s -o $@ - -# Builder recipes for getting through all posts/pages -posts: $(posts:.md=.html) - -pages: $(pages:.md=.html) - -# xd -index: index.md - $(pd) index.md $(style) -s -o $(root)/index.html - # Injecting navbar into the index - sed -i '7r $(navbar)' $(root)/index.html - -# neocites makes me login anyway -upload: - neocities push _site/