summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/Makefile b/Makefile
index e813d30..85a3aa3 100644
--- a/Makefile
+++ b/Makefile
@@ -1,5 +1,5 @@
MAKEFLAGS += -R -r
-HTML_MINIFIER_FLAGS := \
+HTML_MINIFIER_FLAGS += \
--collapse-boolean-attributes \
--collapse-whitespace \
--decode-entities \
@@ -16,7 +16,7 @@ HTML_MINIFIER_FLAGS := \
--trim-custom-fragments
WFS ?= ~/wfs/wfs.py
-WFS_FLAGS := \
+WFS_FLAGS += \
--desubroutinize \
--layout-scripts=latn \
--layout-features-=frac,locl \
@@ -25,15 +25,15 @@ WFS_FLAGS := \
deployhosts := pink red blue
+fonts := resume/EBGaramond-Italic.otf resume/EBGaramond-Regular.otf resume/EBGaramond-Medium.otf
+fontssubset := $(fonts:.otf=.subset.woff2)
+
staticall := $(patsubst static/%,out/%,$(shell find static))
staticdirs := $(sort $(dir $(staticall)))
staticfiles := $(filter-out $(staticdirs),$(staticall))
tocomp := $(filter %.txt %.html %.js %.css,$(staticfiles)) out/resume/index.html
-fonts := resume/EBGaramond-Italic.otf resume/EBGaramond-Regular.otf resume/EBGaramond-Medium.otf
-fontssubset := $(fonts:.otf=.subset.woff2)
-
all: $(staticall) out/resume $(tocomp:=.br) $(tocomp:=.gz)
out/%: static/%