Makefile: Avoid complaining about .first-build-message not existing
authorCarl Worth <cworth@cworth.org>
Fri, 16 Apr 2010 19:10:23 +0000 (12:10 -0700)
committerCarl Worth <cworth@cworth.org>
Fri, 16 Apr 2010 19:10:23 +0000 (12:10 -0700)
This cleans up a few spurious warnings from the build.

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:"