mirror of
https://github.com/kovidgoyal/kitty.git
synced 2024-11-11 01:17:34 +03:00
64 lines
876 B
Makefile
64 lines
876 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)
|
|
|
|
linux-package: FORCE
|
|
rm -rf linux-package
|
|
python3 setup.py linux-package
|
|
|
|
FORCE:
|
|
|
|
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
|