makefile: add debug target

This commit is contained in:
Reto Brunner 2020-11-12 09:00:07 +01:00
parent 676fed9e22
commit a2fd88d2d4
1 changed files with 5 additions and 1 deletions

View File

@ -25,6 +25,10 @@ aerc: $(GOSRC)
aerc.conf: config/aerc.conf.in
sed -e 's:@SHAREDIR@:$(SHAREDIR):g' > $@ < config/aerc.conf.in
debug: $(GOSRC)
GOFLAGS="-tags=notmuch" \
dlv debug --headless --listen localhost:4747 &>/dev/null
DOCS := \
aerc.1 \
aerc-search.1 \
@ -109,4 +113,4 @@ uninstall:
.DEFAULT_GOAL := all
.PHONY: all doc clean install uninstall
.PHONY: all doc clean install uninstall debug