comparison contrib/debian/rules @ 26299:79e1064f7c5e

debian: install hgk as part of mercurial-common (issue4829) Leaving the hgk binary in /usr/bin causes some lintian warnings, and downstream packages poke it in /usr/share/mercurial, so we'll just stash it in there. Rather than patch hgk.py as part of the Mercurial install, just drop a config file in /etc/mercurial/hgrc.d that points to the installed hgk.
author Augie Fackler <augie@google.com>
date Tue, 22 Sep 2015 14:32:17 -0400
parents 346afebd8fa9
children f946c1260035
comparison
equal deleted inserted replaced
26298:346afebd8fa9 26299:79e1064f7c5e
25 # remove arch-dependent python stuff 25 # remove arch-dependent python stuff
26 find $(CURDIR)/debian/mercurial-common/usr/lib \ 26 find $(CURDIR)/debian/mercurial-common/usr/lib \
27 -name '*.so' ! -type d -delete , \ 27 -name '*.so' ! -type d -delete , \
28 -type d -empty -delete 28 -type d -empty -delete
29 cp contrib/hg-ssh $(CURDIR)/debian/mercurial-common/usr/bin 29 cp contrib/hg-ssh $(CURDIR)/debian/mercurial-common/usr/bin
30 mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/mercurial
31 cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial
30 mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ 32 mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
31 cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ 33 cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
32 rm $(CURDIR)/debian/mercurial-common/usr/bin/hg 34 rm $(CURDIR)/debian/mercurial-common/usr/bin/hg