kitty/Makefile

72 lines
1.0 KiB
Makefile
Raw Normal View History

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
# A debug build
debug:
2017-11-20 12:56:27 +03:00
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:
2017-11-20 12:56:27 +03:00
python3 setup.py build $(VVAL) --debug --sanitize
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)
linux-package: FORCE
rm -rf linux-package
python3 setup.py linux-package
FORCE:
man:
2022-01-23 07:13:15 +03:00
$(MAKE) -C docs man
html:
2022-01-23 07:13:15 +03:00
$(MAKE) -C docs html
dirhtml:
$(MAKE) -C docs dirhtml
linkcheck:
2022-01-23 07:13:15 +03:00
$(MAKE) -C docs linkcheck
2021-06-30 12:31:25 +03:00
website:
./publish.py --only website
docs: man html
develop-docs:
$(MAKE) -C docs develop-docs
prepare-for-cross-compile: clean all
python3 setup.py $(VVAL) clean --clean-for-cross-compile
cross-compile:
python3 setup.py linux-package --skip-code-generation