Show More
@@ -16,6 +16,11 b' override_dh_python2:' | |||
|
16 | 16 | |
|
17 | 17 | override_dh_install: |
|
18 | 18 | python$(PYVERS) setup.py install --root $(CURDIR)/debian/mercurial --install-layout=deb |
|
19 | # chg | |
|
20 | make -C contrib/chg \ | |
|
21 | DESTDIR=$(CURDIR)/debian/mercurial \ | |
|
22 | PREFIX=/usr \ | |
|
23 | clean install | |
|
19 | 24 | # remove arch-independent python stuff |
|
20 | 25 | find $(CURDIR)/debian/mercurial/usr/lib \ |
|
21 | 26 | ! -name '*.so' ! -type d -delete , \ |
@@ -31,6 +36,7 b' override_dh_install:' | |||
|
31 | 36 | cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial |
|
32 | 37 | mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ |
|
33 | 38 | cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ |
|
39 | # completions | |
|
34 | 40 | mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions |
|
35 | 41 | cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/hg |
|
36 | 42 | mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/zsh/vendor-completions |
@@ -24,3 +24,9 b' mercurial-common should have py but no .' | |||
|
24 | 24 | zsh completions should be in the common package |
|
25 | 25 | $ dpkg --contents mercurial-common_*.deb | egrep 'zsh.*[^/]$' |
|
26 | 26 | * ./usr/share/zsh/vendor-completions/_hg (glob) |
|
27 | chg should be installed alongside hg, in the 'mercurial' package | |
|
28 | $ dpkg --contents mercurial_*.deb | egrep 'chg$' | |
|
29 | * ./usr/bin/chg (glob) | |
|
30 | chg should come with a man page | |
|
31 | $ dpkg --contents mercurial_*.deb | egrep 'man.*chg' | |
|
32 | * ./usr/share/man/man1/chg.1.gz (glob) |
General Comments 0
You need to be logged in to leave comments.
Login now