2017-11-20 12:56:27 +03:00
|
|
|
ifdef V
|
2019-08-09 02:31:03 +03:00
|
|
|
VVAL=--verbose
|
2017-11-20 12:56:27 +03:00
|
|
|
endif
|
|
|
|
ifdef VERBOSE
|
2019-08-09 02:31:03 +03:00
|
|
|
VVAL=--verbose
|
2017-11-20 12:56:27 +03:00
|
|
|
endif
|
|
|
|
|
2017-01-07 20:21:56 +03:00
|
|
|
all:
|
2017-11-20 12:56:27 +03:00
|
|
|
python3 setup.py $(VVAL)
|
2017-01-09 06:39:29 +03:00
|
|
|
|
|
|
|
test:
|
2017-11-20 12:56:27 +03:00
|
|
|
python3 setup.py $(VVAL) test
|
2017-10-17 11:05:54 +03:00
|
|
|
|
|
|
|
clean:
|
2017-11-20 12:56:27 +03:00
|
|
|
python3 setup.py $(VVAL) clean
|
2017-11-14 07:18:59 +03:00
|
|
|
|
|
|
|
# A debug build
|
|
|
|
debug:
|
2017-11-20 12:56:27 +03:00
|
|
|
python3 setup.py build $(VVAL) --debug
|
2017-11-14 07:18:59 +03:00
|
|
|
|
2019-04-24 13:46:40 +03:00
|
|
|
debug-event-loop:
|
|
|
|
python3 setup.py build $(VVAL) --debug --extra-logging=event-loop
|
|
|
|
|
2017-11-14 07:18:59 +03:00
|
|
|
# Build with the ASAN and UBSAN sanitizers
|
|
|
|
asan:
|
2017-11-20 12:56:27 +03:00
|
|
|
python3 setup.py build $(VVAL) --debug --sanitize
|
2018-01-19 08:12:12 +03:00
|
|
|
|
2018-01-26 19:05:48 +03:00
|
|
|
profile:
|
|
|
|
python3 setup.py build $(VVAL) --profile
|
|
|
|
|
2019-08-06 07:27:45 +03:00
|
|
|
app:
|
2018-02-27 18:36:42 +03:00
|
|
|
python3 setup.py kitty.app $(VVAL)
|
2018-06-08 08:36:41 +03:00
|
|
|
|
|
|
|
man:
|
2018-06-08 09:12:54 +03:00
|
|
|
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs man
|
2018-06-08 08:36:41 +03:00
|
|
|
|
|
|
|
html:
|
2018-06-08 09:12:54 +03:00
|
|
|
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs html
|
2018-06-11 04:01:23 +03:00
|
|
|
|
2018-06-16 06:57:39 +03:00
|
|
|
linkcheck:
|
|
|
|
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs linkcheck
|
|
|
|
|
2018-06-11 04:01:23 +03:00
|
|
|
docs: man html
|