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

login
register
mail settings
Submitter Yuya Nishihara
Date April 19, 2017, 12:50 p.m.
Message ID <5f8bc56e1c6985ea2336.1492606247@mimosa>
Download mbox | patch
Permalink /patch/20262/
State Accepted
Headers show

Comments

Yuya Nishihara - April 19, 2017, 12:50 p.m.
# HG changeset patch
# User Yuya Nishihara <yuya@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.

Patch

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)