the repository which powers this website
Change htmlcc to git submodule
| -rw-r--r-- | .gitmodules | 3 | ||||
| -rw-r--r-- | cgit.mk | 2 | ||||
| m---------[l---------] | themed/htmlcc | 1 |
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 @@ -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 |