Added vids subfolder

This commit is contained in:
j4nk 2023-01-04 08:57:27 -05:00
parent 69f83599d2
commit dffcf9c07e
2 changed files with 9 additions and 1 deletions

View File

@ -2,11 +2,12 @@ PARSEFUNC=md4tj-parse
CC=emacs --no-site-file --batch -l ./md4tj/md4tj_parse.el --eval CC=emacs --no-site-file --batch -l ./md4tj/md4tj_parse.el --eval
.PHONY: css .PHONY: css
.PHONY: vids
SITE_ROOT=./site_root SITE_ROOT=./site_root
SITE_ROOT_RESULT=$(shell sh make_site_root.sh) 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 index: index.md4tj
$(CC) "($(PARSEFUNC) \"index.md4tj\" \"$(SITE_ROOT)/index.html\")" $(CC) "($(PARSEFUNC) \"index.md4tj\" \"$(SITE_ROOT)/index.html\")"
@ -17,5 +18,11 @@ about: about.md4tj
links: links.md4tj links: links.md4tj
$(CC) "($(PARSEFUNC) \"links.md4tj\" \"$(SITE_ROOT)/links.html\")" $(CC) "($(PARSEFUNC) \"links.md4tj\" \"$(SITE_ROOT)/links.html\")"
archives: archives.md4tj
$(CC) "($(PARSEFUNC) \"archives.md4tj\" \"$(SITE_ROOT)/archives.html\")"
css: css:
cp css/main.css site_root/css cp css/main.css site_root/css
vids:
cp vids/* site_root/vids

View File

@ -1,3 +1,4 @@
#!/bin/sh #!/bin/sh
mkdir -p ./site_root mkdir -p ./site_root
mkdir -p ./site_root/css mkdir -p ./site_root/css
mkdir -p ./site_root/vids