aboutsummaryrefslogtreecommitdiff
path: root/Makefile.local
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2022-03-20 09:03:36 -0300
committerDavid Bremner <david@tethera.net>2022-06-17 08:40:19 -0300
commit803ac83c467e440a64fbde4628bee8673b4db01d (patch)
tree04bf5b76983ad43ae18cb974ddf952f0833fbd2f /Makefile.local
parent9695e4c38de562249cbae02bd896d6bb46ba879f (diff)
nmbug: promote to user tool "notmuch-git"
Initially just a rename, and drop the --version argument that clashes with the global notmuch --version argument.
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local7
1 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local
index d8bbf3e1..d2e0c7a8 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -1,7 +1,7 @@
# -*- makefile-gmake -*-
.PHONY: all
-all: notmuch notmuch-shared build-man build-info ruby-bindings python-cffi-bindings
+all: notmuch notmuch-shared build-man build-info ruby-bindings python-cffi-bindings notmuch-git
ifeq ($(MAKECMDGOALS),)
ifeq ($(shell cat .first-build-message 2>/dev/null),)
@NOTMUCH_FIRST_BUILD=1 $(MAKE) --no-print-directory all
@@ -45,6 +45,11 @@ $(SHA256_FILE): $(TAR_FILE)
$(DETACHED_SIG_FILE): $(TAR_FILE)
gpg --armor --detach-sign $^
+CLEAN := $(CLEAN) notmuch-git
+notmuch-git: notmuch-git.py
+ cp $< $@
+ chmod ugo+x $@
+
.PHONY: dist
dist: $(TAR_FILE)