From dffcf9c07e25796756ed8df5ef71f98c57ea8f16 Mon Sep 17 00:00:00 2001 From: j4nk Date: Wed, 4 Jan 2023 08:57:27 -0500 Subject: [PATCH] Added vids subfolder --- Makefile | 9 ++++++++- make_site_root.sh | 1 + 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index d333d38..b40411c 100644 --- a/Makefile +++ b/Makefile @@ -2,11 +2,12 @@ PARSEFUNC=md4tj-parse CC=emacs --no-site-file --batch -l ./md4tj/md4tj_parse.el --eval .PHONY: css +.PHONY: vids SITE_ROOT=./site_root SITE_ROOT_RESULT=$(shell sh make_site_root.sh) -all: $(SITE_ROOT_RESULT) index about links css +all: $(SITE_ROOT_RESULT) index about links archives css vids index: index.md4tj $(CC) "($(PARSEFUNC) \"index.md4tj\" \"$(SITE_ROOT)/index.html\")" @@ -17,5 +18,11 @@ about: about.md4tj links: links.md4tj $(CC) "($(PARSEFUNC) \"links.md4tj\" \"$(SITE_ROOT)/links.html\")" +archives: archives.md4tj + $(CC) "($(PARSEFUNC) \"archives.md4tj\" \"$(SITE_ROOT)/archives.html\")" + css: cp css/main.css site_root/css + +vids: + cp vids/* site_root/vids diff --git a/make_site_root.sh b/make_site_root.sh index ecfb879..f825a99 100755 --- a/make_site_root.sh +++ b/make_site_root.sh @@ -1,3 +1,4 @@ #!/bin/sh mkdir -p ./site_root mkdir -p ./site_root/css +mkdir -p ./site_root/vids