mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-09-21 11:39:57 +03:00
0987a536b1
This should make tracking down the root cause of the event loop pauses on X11 easier. And the infrastructure should come in handy in the future as well.
49 lines
849 B
Makefile
49 lines
849 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
|
|
|
|
logo/kitty.iconset/icon_256x256.png: logo/kitty.svg logo/make.py
|
|
logo/make.py
|
|
|
|
rendered_logo: logo/kitty.iconset/icon_256x256.png
|
|
|
|
app: rendered_logo
|
|
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
|
|
|
|
docs: man html
|