kitty/Makefile
2022-01-23 09:43:15 +05:30

58 lines
792 B
Makefile

ifdef V
VVAL=--verbose
endif
ifdef VERBOSE
VVAL=--verbose
endif
ifdef FAIL_WARN
export FAIL_WARN
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) -C docs man
html:
$(MAKE) -C docs html
dirhtml:
$(MAKE) -C docs dirhtml
linkcheck:
$(MAKE) -C docs linkcheck
website:
./publish.py --only website
docs: man html
develop-docs:
$(MAKE) -C docs develop-docs