[jhbuild] Makefile.plain: all is now the default target (GNOME bug 664231)
- From: Craig Keogh <cskeogh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [jhbuild] Makefile.plain: all is now the default target (GNOME bug 664231)
- Date: Thu, 17 Nov 2011 12:06:16 +0000 (UTC)
commit 0d8e9a77cfe5e72aeef3cbfea7b918f4a6bb65b0
Author: Craig Keogh <cskeogh adam com au>
Date: Thu Nov 17 22:31:24 2011 +1030
Makefile.plain: all is now the default target (GNOME bug 664231)
Ensure make all is the default target by listing first in Makefile. Add
include-check to all target - while Makefile.inc isn't used until the
install target, it's helps the user if alert early.
Makefile.plain | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/Makefile.plain b/Makefile.plain
index 70099cc..ab7d1a7 100644
--- a/Makefile.plain
+++ b/Makefile.plain
@@ -8,13 +8,13 @@ MAKE ?= make
-include Makefile.inc
+all: include-check install-check
+ @echo 'Run "make install" to install.'
+
include-check:
- test -f Makefile.inc || \
+ @test -f Makefile.inc || \
(echo "Makefile.inc doesn't exist. Please run autogen.sh"; exit 1)
-all: install-check
- @echo 'Run "make install" to install.'
-
install-check: install-check.c
$(CC) $(CFLAGS) -o install-check install-check.c
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]