Patchwork D10191: makefile: add a build-chg option

login
register
mail settings
Submitter phabricator
Date March 12, 2021, 10:09 p.m.
Message ID <differential-rev-PHID-DREV-4fj7ia6qxzc4a4llqyje-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/48504/
State Superseded
Headers show

Comments

phabricator - March 12, 2021, 10:09 p.m.
SimonSapin created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This is done as a gratuitous improvement on the way to add makefile entry to
  build and install rhg.
  
  It seems saner to have equivalent entry for chg too.

REPOSITORY
  rHG Mercurial

BRANCH
  default

REVISION DETAIL
  https://phab.mercurial-scm.org/D10191

AFFECTED FILES
  Makefile

CHANGE DETAILS




To: SimonSapin, #hg-reviewers
Cc: mercurial-patches, mercurial-devel

Patch

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -68,6 +68,9 @@ 
 build:
 	$(PYTHON) setup.py $(PURE) build $(COMPILERFLAG)
 
+build-chg:
+	make -C contrib/chg
+
 wheel:
 	FORCE_SETUPTOOLS=1 $(PYTHON) setup.py $(PURE) bdist_wheel $(COMPILERFLAG)