mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-08-16 18:10:32 +03:00
Supports dark mode. Also re-organize the documentation a bit, making it more hierarchical. Have a nicer landing page
51 lines
786 B
Makefile
51 lines
786 B
Makefile
ifdef V
|
|
VVAL=--verbose
|
|
endif
|
|
ifdef VERBOSE
|
|
VVAL=--verbose
|
|
endif
|
|
|
|
all:
|
|
python3 setup.py $(VVAL)
|
|
|
|
test:
|
|
python3 setup.py $(VVAL) test
|
|
|
|
clean:
|
|
python3 setup.py $(VVAL) clean
|
|
|
|
# A debug build
|
|
debug:
|
|
python3 setup.py build $(VVAL) --debug
|
|
|
|
debug-event-loop:
|
|
python3 setup.py build $(VVAL) --debug --extra-logging=event-loop
|
|
|
|
# Build with the ASAN and UBSAN sanitizers
|
|
asan:
|
|
python3 setup.py build $(VVAL) --debug --sanitize
|
|
|
|
profile:
|
|
python3 setup.py build $(VVAL) --profile
|
|
|
|
app:
|
|
python3 setup.py kitty.app $(VVAL)
|
|
|
|
man:
|
|
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs man
|
|
|
|
html:
|
|
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs html
|
|
|
|
linkcheck:
|
|
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs linkcheck
|
|
|
|
website:
|
|
./publish.py --only website
|
|
|
|
docs: man html
|
|
|
|
|
|
develop-docs:
|
|
$(MAKE) -C docs develop-docs
|