diff options
| author | David Bremner <david@tethera.net> | 2026-01-25 07:56:36 +0900 |
|---|---|---|
| committer | David Bremner <david@tethera.net> | 2026-02-16 07:24:18 +0900 |
| commit | fcc41c82c4596aef1598eb9ea52c4b0cb4bb3c53 (patch) | |
| tree | 8d0f74134d34a4c0e89aa1f0fa648147405375f0 /Makefile.local | |
| parent | c8fcc953b5481e96d698c148325563890848c5ff (diff) | |
cli: start remote helper for git.
This is closely based on git-remote-nm (in ruby) by Felipe Contreras.
Initially just implement the commands 'capabilities' and 'list'. This
isn't enough to do anything useful but we can run some simple unit tests. Testing
of URL passing will be done after clone (import command) support is
added.
Diffstat (limited to 'Makefile.local')
| -rw-r--r-- | Makefile.local | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local index 2cc9bd29..2eb0ead8 100644 --- a/Makefile.local +++ b/Makefile.local @@ -1,7 +1,8 @@ # -*- makefile-gmake -*- .PHONY: all -all: notmuch notmuch-shared build-man build-info ruby-bindings python-cffi-bindings notmuch-git nmbug +all: notmuch notmuch-shared git-remote-notmuch git-remote-notmuch-shared \ + build-man build-info ruby-bindings python-cffi-bindings notmuch-git nmbug ifeq ($(MAKECMDGOALS),) ifeq ($(shell cat .first-build-message 2>/dev/null),) @NOTMUCH_FIRST_BUILD=1 $(MAKE) --no-print-directory all @@ -272,10 +273,17 @@ notmuch: $(notmuch_client_modules) lib/libnotmuch.a util/libnotmuch_util.a parse notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME) $(call quiet,$(FINAL_NOTMUCH_LINKER) $(CFLAGS)) $(notmuch_client_modules) $(FINAL_NOTMUCH_LDFLAGS) -o $@ +git-remote-notmuch: git-remote-notmuch.o status.o tag-util.o query-string.o lib/libnotmuch.a util/libnotmuch_util.a parse-time-string/libparse-time-string.a + $(call quiet,CXX $(CFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -o $@ + +git-remote-notmuch-shared: git-remote-notmuch.o status.o tag-util.o query-string.o + $(call quiet,$(FINAL_NOTMUCH_LINKER) $(CFLAGS)) $^ $(FINAL_NOTMUCH_LDFLAGS) -o $@ + .PHONY: install install: all install-man install-info mkdir -p "$(DESTDIR)$(prefix)/bin/" install notmuch-shared "$(DESTDIR)$(prefix)/bin/notmuch" + install git-remote-notmuch-shared "$(DESTDIR)$(prefix)/bin/git-remote-notmuch" ifeq ($(MAKECMDGOALS), install) @echo "" @echo "Notmuch is now installed to $(DESTDIR)$(prefix)" @@ -300,6 +308,7 @@ endif SRCS := $(SRCS) $(notmuch_client_srcs) CLEAN := $(CLEAN) notmuch notmuch-shared $(notmuch_client_modules) +CLEAN := $(CLEAN) git-remote-notmuch git-remote-notmuch.o CLEAN := $(CLEAN) version.stamp notmuch-*.tar.gz.tmp CLEAN := $(CLEAN) .deps |
