##// END OF EJS Templates
deb: build and install chg...
Kyle Lippincott -
r34407:0133ca39 default
parent child Browse files
Show More
@@ -16,6 +16,11 b' override_dh_python2:'
16
16
17 override_dh_install:
17 override_dh_install:
18 python$(PYVERS) setup.py install --root $(CURDIR)/debian/mercurial --install-layout=deb
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 # remove arch-independent python stuff
24 # remove arch-independent python stuff
20 find $(CURDIR)/debian/mercurial/usr/lib \
25 find $(CURDIR)/debian/mercurial/usr/lib \
21 ! -name '*.so' ! -type d -delete , \
26 ! -name '*.so' ! -type d -delete , \
@@ -31,6 +36,7 b' override_dh_install:'
31 cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial
36 cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial
32 mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
37 mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
33 cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
38 cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/
39 # completions
34 mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions
40 mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions
35 cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/hg
41 cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/hg
36 mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/zsh/vendor-completions
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 zsh completions should be in the common package
24 zsh completions should be in the common package
25 $ dpkg --contents mercurial-common_*.deb | egrep 'zsh.*[^/]$'
25 $ dpkg --contents mercurial-common_*.deb | egrep 'zsh.*[^/]$'
26 * ./usr/share/zsh/vendor-completions/_hg (glob)
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