Patchwork [3,of,5] debian: install config files as part of mercurial-common

login
register
mail settings
Submitter Augie Fackler
Date Sept. 22, 2015, 6:53 p.m.
Message ID <cc656c239796d3eec5d9.1442948039@arthedain.pit.corp.google.com>
Download mbox | patch
Permalink /patch/10578/
State Accepted
Headers show

Comments

Augie Fackler - Sept. 22, 2015, 6:53 p.m.
# HG changeset patch
# User Augie Fackler <augie@google.com>
# Date 1442945645 14400
#      Tue Sep 22 14:14:05 2015 -0400
# Node ID cc656c239796d3eec5d9401be2fd63174440a376
# Parent  2ae06d541bc74e771f21b5adc5cadbefb4fd4c34
debian: install config files as part of mercurial-common

Future patches will start putting config files in /etc/mercurial/,
this just installs them.

Patch

diff --git a/contrib/debian/rules b/contrib/debian/rules
--- a/contrib/debian/rules
+++ b/contrib/debian/rules
@@ -27,4 +27,6 @@  override_dh_install:
 		-name '*.so' ! -type d -delete , \
 		-type d -empty -delete
 	cp contrib/hg-ssh $(CURDIR)/debian/mercurial-common/usr/bin
+	mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
+	cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
 	rm $(CURDIR)/debian/mercurial-common/usr/bin/hg