Change htmlcc to git submodule
This commit is contained in:
parent
7ec4477c9a
commit
615420c062
3
.gitmodules
vendored
3
.gitmodules
vendored
@ -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
|
||||||
|
2
cgit.mk
2
cgit.mk
@ -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 $@
|
||||||
|
@ -1 +0,0 @@
|
|||||||
../../htmlcc/htmlcc
|
|
1
themed/htmlcc
Submodule
1
themed/htmlcc
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit ab72cefd6745a647dbd41a9814397873ab198e48
|
Loading…
x
Reference in New Issue
Block a user