[PATCH 3 of 5] debian: install config files as part of mercurial-common
Augie Fackler
raf at durin42.com
Tue Sep 22 18:53:59 UTC 2015
# HG changeset patch
# User Augie Fackler <augie at 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.
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
More information about the Mercurial-devel
mailing list