Mercurial > hg
diff contrib/debian/rules @ 34406:0133ca39c688
deb: build and install chg
Differential Revision: https://phab.mercurial-scm.org/D883
author | Kyle Lippincott <spectral@google.com> |
---|---|
date | Sun, 01 Oct 2017 03:31:32 -0700 |
parents | 9ecc622ca23f |
children | f1c2552c2de7 |
line wrap: on
line diff
--- a/contrib/debian/rules Sun Oct 01 02:53:10 2017 -0700 +++ b/contrib/debian/rules Sun Oct 01 03:31:32 2017 -0700 @@ -16,6 +16,11 @@ override_dh_install: python$(PYVERS) setup.py install --root $(CURDIR)/debian/mercurial --install-layout=deb + # chg + make -C contrib/chg \ + DESTDIR=$(CURDIR)/debian/mercurial \ + PREFIX=/usr \ + clean install # remove arch-independent python stuff find $(CURDIR)/debian/mercurial/usr/lib \ ! -name '*.so' ! -type d -delete , \ @@ -31,6 +36,7 @@ cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ + # completions mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/hg mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/zsh/vendor-completions