[PATCH 1 of 2 evolve-ext] make: fix indent of ifeq-endif

Yuya Nishihara yuya at tcha.org
Wed Apr 19 12:50:47 UTC 2017


# HG changeset patch
# User Yuya Nishihara <yuya at tcha.org>
# Date 1492605243 -32400
#      Wed Apr 19 21:34:03 2017 +0900
# Node ID 5f8bc56e1c6985ea2336e6da10d3d4c21fef6685
# Parent  ac51b873fc37a7302e1e49bf653e62afe80e31c8
make: fix indent of ifeq-endif

ifeq() can't be a recipe.

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -34,9 +34,9 @@ help:
 all: help
 
 _check_hgroot:
-	ifeq ($(HGROOT),)
-	  $(error HGROOT is not set to the root of the hg source tree)
-	endif
+ifeq ($(HGROOT),)
+	$(error HGROOT is not set to the root of the hg source tree)
+endif
 
 tests: _check_hgroot
 	cd tests && $(PYTHON) $(HGTESTS)/run-tests.py $(TESTFLAGS)


More information about the Mercurial-devel mailing list