summaryrefslogtreecommitdiff
path: root/packaging/generic-unix
diff options
context:
space:
mode:
authorDavid Wragg <dpw@lshift.net>2009-08-18 11:10:40 +0100
committerDavid Wragg <dpw@lshift.net>2009-08-18 11:10:40 +0100
commitbe3cf7a037c9f09c340a4409fcd9ccd09a131c67 (patch)
tree0bb2c54181395ccb3ad387be045c47979f0f2708 /packaging/generic-unix
parent3b3067dc17a9f042b9916e35540fc98c2adc91c2 (diff)
downloadrabbitmq-server-be3cf7a037c9f09c340a4409fcd9ccd09a131c67.tar.gz
Invoke make as $(MAKE) from within makefiles
Our makefiles require gnumake. Under some unices, gnumake is installed as gmake, with plain "make" referring to a something less featureful. So it's necessary to invoke make as $(MAKE) from within makefiles, in order to make sure we invoke the same variant.
Diffstat (limited to 'packaging/generic-unix')
-rw-r--r--packaging/generic-unix/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/packaging/generic-unix/Makefile b/packaging/generic-unix/Makefile
index b3988696..4eade6c7 100644
--- a/packaging/generic-unix/Makefile
+++ b/packaging/generic-unix/Makefile
@@ -4,10 +4,10 @@ TARGET_DIR=rabbitmq_server-$(VERSION)
TARGET_TARBALL=rabbitmq-server-generic-unix-$(VERSION)
dist:
- make -C ../.. VERSION=$(VERSION) srcdist
+ $(MAKE) -C ../.. VERSION=$(VERSION) srcdist
tar -zxvf ../../dist/$(SOURCE_DIR).tar.gz
- make -C $(SOURCE_DIR) \
+ $(MAKE) -C $(SOURCE_DIR) \
TARGET_DIR=`pwd`/$(TARGET_DIR) \
SBIN_DIR=`pwd`/$(TARGET_DIR)/sbin \
MAN_DIR=`pwd`/$(TARGET_DIR)/share/man \