From a2fd88d2d4dd2e8eee0314315e9967ebcb3d4a77 Mon Sep 17 00:00:00 2001 From: Reto Brunner Date: Thu, 12 Nov 2020 09:00:07 +0100 Subject: [PATCH] makefile: add debug target --- Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4d3b595..5ba7989 100644 --- a/Makefile +++ b/Makefile @@ -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