Show More
@@ -73,7 +73,7 b' if [ "$BUILD" ]; then' | |||
|
73 | 73 | exit 1 |
|
74 | 74 | fi |
|
75 | 75 | |
|
76 | cp -r $PWD/contrib/debian debian | |
|
76 | cp -r "$PWD"/contrib/debian debian | |
|
77 | 77 | |
|
78 | 78 | sed -i.tmp "s/__VERSION__/$debver/" $changelog |
|
79 | 79 | sed -i.tmp "s/__DATE__/$(date --rfc-2822)/" $changelog |
@@ -15,30 +15,30 b' override_dh_python2:' | |||
|
15 | 15 | find debian/mercurial/usr/share -type d -empty -delete |
|
16 | 16 | |
|
17 | 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 | 19 | # chg |
|
20 | 20 | make -C contrib/chg \ |
|
21 | DESTDIR=$(CURDIR)/debian/mercurial \ | |
|
21 | DESTDIR="$(CURDIR)"/debian/mercurial \ | |
|
22 | 22 | PREFIX=/usr \ |
|
23 | 23 | clean install |
|
24 | 24 | # remove arch-independent python stuff |
|
25 | find $(CURDIR)/debian/mercurial/usr/lib \ | |
|
25 | find "$(CURDIR)"/debian/mercurial/usr/lib \ | |
|
26 | 26 | ! -name '*.so' ! -type d -delete , \ |
|
27 | 27 | -type d -empty -delete |
|
28 | python$(PYVERS) setup.py install --root $(CURDIR)/debian/mercurial-common --install-layout=deb | |
|
29 | make install-doc PREFIX=$(CURDIR)/debian/mercurial-common/usr | |
|
28 | python$(PYVERS) setup.py install --root "$(CURDIR)/debian/mercurial-common" --install-layout=deb | |
|
29 | make install-doc PREFIX="$(CURDIR)"/debian/mercurial-common/usr | |
|
30 | 30 | # remove arch-dependent python stuff |
|
31 | find $(CURDIR)/debian/mercurial-common/usr/lib \ | |
|
31 | find "$(CURDIR)"/debian/mercurial-common/usr/lib \ | |
|
32 | 32 | -name '*.so' ! -type d -delete , \ |
|
33 | 33 | -type d -empty -delete |
|
34 | cp contrib/hg-ssh $(CURDIR)/debian/mercurial-common/usr/bin | |
|
35 | mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/mercurial | |
|
36 | cp contrib/hgk $(CURDIR)/debian/mercurial-common/usr/share/mercurial | |
|
37 | mkdir -p $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ | |
|
38 | cp contrib/debian/*.rc $(CURDIR)/debian/mercurial-common/etc/mercurial/hgrc.d/ | |
|
34 | cp contrib/hg-ssh "$(CURDIR)"/debian/mercurial-common/usr/bin | |
|
35 | mkdir -p "$(CURDIR)"/debian/mercurial-common/usr/share/mercurial | |
|
36 | cp contrib/hgk "$(CURDIR)"/debian/mercurial-common/usr/share/mercurial | |
|
37 | mkdir -p "$(CURDIR)"/debian/mercurial-common/etc/mercurial/hgrc.d/ | |
|
38 | cp contrib/debian/*.rc "$(CURDIR)"/debian/mercurial-common/etc/mercurial/hgrc.d/ | |
|
39 | 39 | # completions |
|
40 | mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions | |
|
41 | cp contrib/bash_completion $(CURDIR)/debian/mercurial-common/usr/share/bash-completion/completions/hg | |
|
42 | mkdir -p $(CURDIR)/debian/mercurial-common/usr/share/zsh/vendor-completions | |
|
43 | cp contrib/zsh_completion $(CURDIR)/debian/mercurial-common/usr/share/zsh/vendor-completions/_hg | |
|
44 | rm $(CURDIR)/debian/mercurial-common/usr/bin/hg | |
|
40 | mkdir -p "$(CURDIR)"/debian/mercurial-common/usr/share/bash-completion/completions | |
|
41 | cp contrib/bash_completion "$(CURDIR)"/debian/mercurial-common/usr/share/bash-completion/completions/hg | |
|
42 | mkdir -p "$(CURDIR)"/debian/mercurial-common/usr/share/zsh/vendor-completions | |
|
43 | cp contrib/zsh_completion "$(CURDIR)"/debian/mercurial-common/usr/share/zsh/vendor-completions/_hg | |
|
44 | rm "$(CURDIR)"/debian/mercurial-common/usr/bin/hg |
General Comments 0
You need to be logged in to leave comments.
Login now