~crass/tryton/server

1 by Daniel Baumann
Adding debian version 1.0.0-1.
1
#!/usr/bin/make -f
2
234 by Mathias Behrle
Changing to buildsystem pybuild.
3
# needed for pbuilder
4
export LC_ALL=C.UTF-8
5
6
export PYBUILD_DESTDIR_python2=debian/tryton-server
7
8
# Don't run tests for Tryton packages, they try to download dependencies from pypi
9
export PYBUILD_DISABLE_python2.7=test
10
37 by Daniel Baumann
Minimizing rules file.
11
%:
234 by Mathias Behrle
Changing to buildsystem pybuild.
12
	dh ${@} --with python2,sphinxdoc --buildsystem=pybuild
219 by Mathias Behrle
Adapting the rules file to work also with git-buildpackage.
13
132 by Mathias Behrle
Moving from deprecated python-support to dh_python, thanks to Charlie Smotherman <cjsmo@cableone.net> (Closes: #632773).
14
override_dh_auto_clean:
15
	dh_auto_clean
209 by Mathias Behrle
Builduing new package tryton-server-doc from sphinx documentation.
16
	rm -rf build
181 by Daniel Baumann
Switching to xz compression.
17
216 by Mathias Behrle
Moving sphinx-build to override_dh_auto_build.
18
override_dh_auto_build:
19
	dh_auto_build
209 by Mathias Behrle
Builduing new package tryton-server-doc from sphinx documentation.
20
	sphinx-build doc build/html
21
210 by Mathias Behrle
Reordering overrides in rules file.
22
override_dh_installinit:
23
	dh_installinit --update-rcd-params='defaults 21'
24
181 by Daniel Baumann
Switching to xz compression.
25
override_dh_builddeb:
26
	dh_builddeb -- -Zxz -z9