changeset 26298:346afebd8fa9

debian: install config files as part of mercurial-common Future patches will start putting config files in /etc/mercurial/, this just installs them.
author Augie Fackler <augie@google.com>
date Tue, 22 Sep 2015 14:14:05 -0400
parents ccdc2b23fdb8
children 79e1064f7c5e
files contrib/debian/rules
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/contrib/debian/rules	Tue Sep 22 14:31:17 2015 -0400
+++ b/contrib/debian/rules	Tue Sep 22 14:14:05 2015 -0400
@@ -27,4 +27,6 @@
 		-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