summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorReto Brunner <reto@labrat.space>2020-11-12 09:00:07 +0100
committerReto Brunner <reto@labrat.space>2020-11-13 23:54:00 +0100
commita2fd88d2d4dd2e8eee0314315e9967ebcb3d4a77 (patch)
tree5d655f6c4f4efad129c00dac88894c1c59df72f4 /Makefile
parent676fed9e2265a40f81cb9f2a083809ff7bf32772 (diff)
downloadaerc-a2fd88d2d4dd2e8eee0314315e9967ebcb3d4a77.zip
makefile: add debug target
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
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