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
|
|
|
|
|
2022-01-23 07:13:15 +03:00
|
|
|
ifdef FAIL_WARN
|
|
|
|
export FAIL_WARN
|
|
|
|
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
|
|
|
|
2022-08-19 10:08:10 +03:00
|
|
|
linux-package: FORCE
|
|
|
|
rm -rf linux-package
|
|
|
|
python3 setup.py linux-package
|
|
|
|
|
|
|
|
FORCE:
|
|
|
|
|
2018-06-08 08:36:41 +03:00
|
|
|
man:
|
2022-01-23 07:13:15 +03:00
|
|
|
$(MAKE) -C docs man
|
2018-06-08 08:36:41 +03:00
|
|
|
|
|
|
|
html:
|
2022-01-23 07:13:15 +03:00
|
|
|
$(MAKE) -C docs html
|
|
|
|
|
|
|
|
dirhtml:
|
|
|
|
$(MAKE) -C docs dirhtml
|
2018-06-11 04:01:23 +03:00
|
|
|
|
2018-06-16 06:57:39 +03:00
|
|
|
linkcheck:
|
2022-01-23 07:13:15 +03:00
|
|
|
$(MAKE) -C docs linkcheck
|
2018-06-16 06:57:39 +03:00
|
|
|
|
2021-06-30 12:31:25 +03:00
|
|
|
website:
|
|
|
|
./publish.py --only website
|
|
|
|
|
2018-06-11 04:01:23 +03:00
|
|
|
docs: man html
|
2021-07-17 13:58:42 +03:00
|
|
|
|
|
|
|
|
|
|
|
develop-docs:
|
|
|
|
$(MAKE) -C docs develop-docs
|
2023-06-13 05:26:16 +03:00
|
|
|
|
|
|
|
|
2023-06-13 13:01:58 +03:00
|
|
|
prepare-for-cross-compile: clean all
|
2023-06-13 05:26:16 +03:00
|
|
|
python3 setup.py $(VVAL) clean --clean-for-cross-compile
|
|
|
|
|
|
|
|
cross-compile:
|
|
|
|
python3 setup.py linux-package --skip-code-generation
|
|
|
|
|