kitty/Makefile

49 lines
849 B
Makefile
Raw Normal View History

2017-11-20 12:56:27 +03:00
ifdef V
VVAL=--verbose
endif
ifdef VERBOSE
VVAL=--verbose
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
logo/kitty.iconset/icon_256x256.png: logo/kitty.svg logo/make.py
logo/make.py
rendered_logo: logo/kitty.iconset/icon_256x256.png
app: rendered_logo
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