From a10cf07938a10452e96c11d519821c4df271937c Mon Sep 17 00:00:00 2001 From: Andrea Rogers Date: Thu, 15 Feb 2024 07:29:56 -0600 Subject: [PATCH] Makefile: Update deployment targets This commit is untested, but included to try to get some changes that somehow made it to the live site without getting checked into Git. Oops!!! --- Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 0b2cba1..e1a14c6 100644 --- a/Makefile +++ b/Makefile @@ -1,3 +1,6 @@ +DEPLOY_HTTPROOT ?= httproot +DEPLOY_BLOBS = andrea0s-plain-noextfonts.svg blob/ebrimabd.ttf blob/window-capture + UNAME = $(shell uname) ifeq ($(UNAME),Linux) OPEN=xdg-open @@ -40,6 +43,14 @@ index.html: indexhead.html nav.head.html index.indicator.html nav.tail.html inde test: index.html $(OPEN) $< +$(DEPLOY_HTTPROOT)/blob: + mkdir -p $(@) + cp -rv $(DEPLOY_BLOBS) $(@) + +deploy: all $(DEPLOY_HTTPROOT)/blob + cp -rv *.css *.html blog media \ + $(DEPLOY_HTTPROOT) + all: blog-posts index.html blog.html resume.html -.PHONY: all blog-posts indicators +.PHONY: all blog-posts indicators deploy