2009-06-30 21:19:36

by Jon Loeliger

[permalink] [raw]
Subject: [PATCH 5/5] Unbury Makefile-meta config definitions.

Rather than having them buried in the middle of the Makefile,
relocate the "quiet/not-quiet" options, MKDIR and INSTALL definitions
to the top of the file.

Signed-off-by: Jon Loeliger <[email protected]>
---
Makefile | 23 ++++++++++++-----------
1 files changed, 12 insertions(+), 11 deletions(-)

diff --git a/Makefile b/Makefile
index b755b67..9f9ae01 100644
--- a/Makefile
+++ b/Makefile
@@ -25,6 +25,18 @@ UDEV_RULE_DIR?=/lib/udev/rules.d/
PUBKEY_DIR?=pubkeys


+MKDIR ?= mkdir -p
+INSTALL ?= install
+
+
+ifeq ($(V),1)
+ Q=
+ NQ=@true
+else
+ Q=@
+ NQ=@echo
+endif
+
#
# Determine what target and host libraries and executables
# need to be built as that will determine what libraries will
@@ -236,17 +248,6 @@ verify: $(REG_BIN) host/regdbdump
$(Q)./host/regdbdump $(REG_BIN) >/dev/null


-MKDIR ?= mkdir -p
-INSTALL ?= install
-
-ifeq ($(V),1)
-Q=
-NQ=@true
-else
-Q=@
-NQ=@echo
-endif
-
$(REG_BIN):
$(NQ) ' EXIST ' $(REG_BIN)
$(NQ)
--
1.6.3.GIT