summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-10-05 15:31:40 -0400
committerAlex Xu (Hello71) <alex_y_xu@yahoo.ca>2021-10-05 15:31:40 -0400
commit8e5c328c2a8e5cfaa64d48b896191b17f30838dc (patch)
tree94c1384d42e83ee83672f18528901edd56391ae7
parenta93d44efbc5ee7e78523c544341325b71b347f2a (diff)
downloadalxu.ca-8e5c328c2a8e5cfaa64d48b896191b17f30838dc.tar.xz
alxu.ca-8e5c328c2a8e5cfaa64d48b896191b17f30838dc.zip
Makefile: append FLAGS, reorder variables
-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/%