]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Makefile: Avoid complaining about .first-build-message not existing
[notmuch] / Makefile.local
index 51a83a8c7b3635b1f47a50edf525538fc261a44b..f497b6cb5225d7e568f1c69d915c3f423ec347a2 100644 (file)
@@ -42,7 +42,7 @@ FINAL_LIBNOTMUCH_LDFLAGS = $(LDFLAGS) $(CONFIGURE_LDFLAGS)
 .PHONY: all
 all: notmuch notmuch-shared notmuch.1.gz
 ifeq ($(MAKECMDGOALS),)
-ifeq ($(shell cat .first-build-message),)
+ifeq ($(shell cat .first-build-message 2>/dev/null),)
        @NOTMUCH_FIRST_BUILD=1 $(MAKE) --no-print-directory all
        @echo ""
        @echo "Compilation of notmuch is now complete. You can install notmuch with:"