kitty/Makefile

44 lines
701 B
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
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)
man:
2018-06-08 09:12:54 +03:00
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs man
html:
2018-06-08 09:12:54 +03:00
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs html
linkcheck:
$(MAKE) FAIL_WARN=$(FAIL_WARN) -C docs linkcheck
docs: man html