aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'themes/sourcehut/Makefile')
-rw-r--r--themes/sourcehut/Makefile9
1 files changed, 9 insertions, 0 deletions
diff --git a/themes/sourcehut/Makefile b/themes/sourcehut/Makefile
new file mode 100644
index 0000000..22b899d
--- /dev/null
+++ b/themes/sourcehut/Makefile
@@ -0,0 +1,9 @@
+SRHT_PATH?=/usr/lib/python3.8/site-packages/srht
+
+assets/style.css: scss/*.scss ${SRHT_PATH}/scss/*.scss
+ @mkdir -p assets/
+ sassc -I${SRHT_PATH}/scss scss/main.scss $@
+
+all: assets/style.css
+
+.DEFAULT_GOAL=all