aboutsummaryrefslogtreecommitdiff
path: root/themes/sourcehut/Makefile
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2019-12-16 12:57:30 +0100
committerSimon Ser <contact@emersion.fr>2019-12-16 12:58:21 +0100
commite93346ffa90f6c09a9a57b48c6607925dc7ff46e (patch)
tree5e1f356017c763a604cc8bcf247759037ae51d74 /themes/sourcehut/Makefile
parentd897eeee5c4d163891d0b6a8f85d328ccada7575 (diff)
downloadalps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.tar.gz
alps-e93346ffa90f6c09a9a57b48c6607925dc7ff46e.zip
Remove the public/ directory
Now that all templates are provided by plugins, there's no need to have a public/ directory. Themes can be in /themes instead of /public/themes.
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