the repository which powers this website
-rw-r--r--.gitmodules3
-rw-r--r--cgit.mk2
m---------[l---------]themed/htmlcc1
3 files changed, 4 insertions, 2 deletions
diff --git a/.gitmodules b/.gitmodules
index 5c6ecb4f..350a7a94 100644
--- a/.gitmodules
+++ b/.gitmodules
@@ -1,3 +1,6 @@
[submodule "git"]
url = https://git.kernel.org/pub/scm/git/git.git
path = git
+[submodule "themed/htmlcc"]
+ path = themed/htmlcc
+ url = https://yingtongli.me/git/htmlcc.git
diff --git a/cgit.mk b/cgit.mk
index 8817ae75..f66c985c 100644
--- a/cgit.mk
+++ b/cgit.mk
@@ -139,7 +139,7 @@ $(CGIT_PREFIX)themed/.depend:
@mkdir -p $@
$(CGIT_PREFIX)themed/themed.c: $(CGIT_THEMED_INPUTS)
- cd $(CGIT_PREFIX)themed; python -m htmlcc --emitter cgit $^ > $@
+ cd $(CGIT_PREFIX)themed; PYTHONPATH=htmlcc python -m htmlcc --emitter cgit $^ > $@
$(CGIT_PREFIX)themed/themed.css: $(CGIT_PREFIX)themed/themed.in.css $(CGIT_THEMED_INPUTS)
cd $(CGIT_PREFIX)themed; tailwindcss -i $< -o $@
diff --git a/themed/htmlcc b/themed/htmlcc
+Subproject ab72cefd6745a647dbd41a9814397873ab198e4