summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/Makefile b/Makefile
index 6c0a1a3..d54820e 100644
--- a/Makefile
+++ b/Makefile
@@ -1,11 +1,10 @@
+TITLE=Eugene's Space
RSYNC_DESTINATION=root@eug-vs.xyz:/var/www/website
-BROWSER=brave
MARKDOWN=gfm+emoji
STYLESHEET=/style.css
HEAD=head.html
HEADER=header.html
-TITLE=Eugene's Space
PANDOC_ARGS=-s --from=$(MARKDOWN) --to=html -c $(STYLESHEET) -B $(HEADER) -H $(HEAD) --shift-heading-level-by=1 --highlight-style=gruvbox.theme
LINK_SEDSTRING=s/.md)/.html)/g;
@@ -14,7 +13,7 @@ LOCALIZE_SEDSTRING=s|\"/|\"$(PWD)/|;
UNLOCALIZE_SEDSTRING=s|$(PWD)||;
-SOURCES=$(wildcard *.md blog/*.md)
+SOURCES=$(wildcard *.md blog/*.md articles/*.md)
HTML=$(patsubst %.md, %.html, $(SOURCES))
@@ -39,7 +38,7 @@ blog/preview.md: blog/index.md
@sed -n "s/^-/ -/; s|(|(blog/| ; /^ -/p" $< | head -n 4 > $@
open: $(HTML)
- $(BROWSER) index.html
+ xdg-open index.html
deploy: $(HTML)
$(MAKE) unlocalize