Show More
@@ -17,13 +17,21 b' override_dh_python3:' | |||||
17 | dh_python3 --shebang=/usr/bin/python3 |
|
17 | dh_python3 --shebang=/usr/bin/python3 | |
18 | find debian/mercurial/usr/share -type d -empty -delete |
|
18 | find debian/mercurial/usr/share -type d -empty -delete | |
19 |
|
19 | |||
|
20 | override_dh_auto_clean: | |||
|
21 | $(MAKE) cleanbutpackages | |||
|
22 | $(MAKE) -C contrib/chg clean | |||
|
23 | ||||
|
24 | override_dh_auto_build: | |||
|
25 | $(MAKE) all | |||
|
26 | $(MAKE) -C contrib/chg all | |||
|
27 | ||||
20 | override_dh_install: |
|
28 | override_dh_install: | |
21 | python3 setup.py install --root "$(CURDIR)"/debian/mercurial --install-layout=deb |
|
29 | python3 setup.py install --root "$(CURDIR)"/debian/mercurial --install-layout=deb | |
22 | # chg |
|
30 | # chg | |
23 | make -C contrib/chg \ |
|
31 | make -C contrib/chg \ | |
24 | DESTDIR="$(CURDIR)"/debian/mercurial \ |
|
32 | DESTDIR="$(CURDIR)"/debian/mercurial \ | |
25 | PREFIX=/usr \ |
|
33 | PREFIX=/usr \ | |
26 |
|
|
34 | install | |
27 | # remove arch-independent python stuff |
|
35 | # remove arch-independent python stuff | |
28 | find "$(CURDIR)"/debian/mercurial/usr/lib \ |
|
36 | find "$(CURDIR)"/debian/mercurial/usr/lib \ | |
29 | ! -name '*.so' ! -type d -delete , \ |
|
37 | ! -name '*.so' ! -type d -delete , \ |
General Comments 0
You need to be logged in to leave comments.
Login now