X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=Makefile.local;h=3f8f1d56c81add165cd5844cf0ed471f635bcf58;hp=79ac50d4ff555b736a3d78fcfb89843839ed50e0;hb=f3428823e5cfa8e524e3ea7be8b497020d0693ba;hpb=8c8079a8b14fac5e8ca6b682e5c76e08a824f2e7 diff --git a/Makefile.local b/Makefile.local index 79ac50d4..3f8f1d56 100644 --- a/Makefile.local +++ b/Makefile.local @@ -23,6 +23,9 @@ GPG_FILE=$(SHA1_FILE).asc FINAL_CFLAGS = -DNOTMUCH_VERSION=$(VERSION) $(CFLAGS) $(WARN_CFLAGS) $(CONFIGURE_CFLAGS) $(extra_cflags) FINAL_CXXFLAGS = $(CXXFLAGS) $(WARN_CXXFLAGS) $(CONFIGURE_CXXFLAGS) $(extra_cflags) $(extra_cxxflags) FINAL_NOTMUCH_LDFLAGS = $(LDFLAGS) -Llib -lnotmuch +ifneq ($(LINKER_RESOLVES_LIBRARY_DEPENDENCIES),1) +FINAL_NOTMUCH_LDFLAGS += $(CONFIGURE_LDFLAGS) +endif FINAL_LIBNOTMUCH_LDFLAGS = $(LDFLAGS) $(CONFIGURE_LDFLAGS) .PHONY: all @@ -42,6 +45,10 @@ ifeq ($(shell cat .first-build-message),) endif endif +.PHONY: test +test: all + @./test/notmuch-test + $(TAR_FILE): git archive --format=tar --prefix=$(PACKAGE)-$(VERSION)/ HEAD > $(TAR_FILE).tmp echo $(VERSION) > version @@ -63,7 +70,9 @@ dist: $(TAR_FILE) # We invoke make recursively only to force ordering of our phony # targets in the case of parallel invocation of make (-j). .PHONY: release -release: release-verify-newer +release: + $(MAKE) test + $(MAKE) release-verify-newer $(MAKE) release-upload @echo "Please send a release announcement as follows:" @echo ""