diff options
author | Matthew Sackman <matthew@rabbitmq.com> | 2010-06-25 12:19:05 +0100 |
---|---|---|
committer | Matthew Sackman <matthew@rabbitmq.com> | 2010-06-25 12:19:05 +0100 |
commit | 529392b270ad5cce4b4613b75f1de0352eadf1fb (patch) | |
tree | bcfa9ac85c24939bf02a0ea3c6d8d86bc8bbd8aa | |
parent | df0bfa412229cb8d65bc7f06e2c2a3704193be26 (diff) | |
parent | 316912564f15dbbfbfc995bf177bb721b7539137 (diff) | |
download | rabbitmq-server-529392b270ad5cce4b4613b75f1de0352eadf1fb.tar.gz |
Merging bug 22879 onto default
-rw-r--r-- | Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
@@ -76,6 +76,18 @@ SCRIPTS_REL_PATH=$(shell ./calculate-relative $(TARGET_DIR)/sbin $(SBIN_DIR)) endif endif +# Versions prior to this are not supported +NEED_MAKE := 3.80 +ifneq "$(NEED_MAKE)" "$(firstword $(sort $(NEED_MAKE) $(MAKE_VERSION)))" +$(error Versions of make prior to $(NEED_MAKE) are not supported) +endif + +# .DEFAULT_GOAL introduced in 3.81 +DEFAULT_GOAL_MAKE := 3.81 +ifneq "$(DEFAULT_GOAL_MAKE)" "$(firstword $(sort $(DEFAULT_GOAL_MAKE) $(MAKE_VERSION)))" +.DEFAULT_GOAL=all +endif + all: $(TARGETS) $(DEPS_FILE): $(SOURCES) $(INCLUDES) @@ -268,7 +280,7 @@ install_dirs: mkdir -p $(SBIN_DIR) mkdir -p $(MAN_DIR) -$(foreach XML, $(USAGES_XML), $(eval $(call usage_dep, $(XML)))) +$(foreach XML,$(USAGES_XML),$(eval $(call usage_dep, $(XML)))) # Note that all targets which depend on clean must have clean in their # name. Also any target that doesn't depend on clean should not have |