Patchwork D11290: pyoxidized: add a copy of the `defaultrc` file in the right location

login
register
mail settings
Submitter phabricator
Date Aug. 18, 2021, 9:54 a.m.
Message ID <differential-rev-PHID-DREV-2ltn6hitkpdxkn2vws6s-req@mercurial-scm.org>
Download mbox | patch
Permalink /patch/49604/
State Superseded
Headers show

Comments

phabricator - Aug. 18, 2021, 9:54 a.m.
marmoute created this revision.
Herald added a reviewer: hg-reviewers.
Herald added a subscriber: mercurial-patches.

REVISION SUMMARY
  This get the hacky setup closer to how an actual install is setup.

REPOSITORY
  rHG Mercurial

BRANCH
  stable

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

AFFECTED FILES
  Makefile

CHANGE DETAILS




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

Patch

diff --git a/Makefile b/Makefile
--- a/Makefile
+++ b/Makefile
@@ -280,6 +280,8 @@ 
 	cp -ar $(PYOX_DIR)/lib/mercurial/templates $(PYOX_DIR)/templates
 	rm -rf $(PYOX_DIR)/helptext
 	cp -ar $(PYOX_DIR)/lib/mercurial/helptext $(PYOX_DIR)/helptext
+	rm -rf $(PYOX_DIR)/defaultrc
+	cp -ar $(PYOX_DIR)/lib/mercurial/defaultrc $(PYOX_DIR)/defaultrc
 
 
 .PHONY: help all local build doc cleanbutpackages clean install install-bin \