Change htmlcc to git submodule

This commit is contained in:
RunasSudo 2025-05-16 14:52:38 +10:00
parent 7ec4477c9a
commit 615420c062
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
3 changed files with 5 additions and 2 deletions

3
.gitmodules vendored
View File

@ -1,3 +1,6 @@
[submodule "git"] [submodule "git"]
url = https://git.kernel.org/pub/scm/git/git.git url = https://git.kernel.org/pub/scm/git/git.git
path = git path = git
[submodule "themed/htmlcc"]
path = themed/htmlcc
url = https://yingtongli.me/git/htmlcc.git

View File

@ -139,7 +139,7 @@ $(CGIT_PREFIX)themed/.depend:
@mkdir -p $@ @mkdir -p $@
$(CGIT_PREFIX)themed/themed.c: $(CGIT_THEMED_INPUTS) $(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) $(CGIT_PREFIX)themed/themed.css: $(CGIT_PREFIX)themed/themed.in.css $(CGIT_THEMED_INPUTS)
cd $(CGIT_PREFIX)themed; tailwindcss -i $< -o $@ cd $(CGIT_PREFIX)themed; tailwindcss -i $< -o $@

View File

@ -1 +0,0 @@
../../htmlcc/htmlcc

1
themed/htmlcc Submodule

@ -0,0 +1 @@
Subproject commit ab72cefd6745a647dbd41a9814397873ab198e48