author | David Douard <david.douard@logilab.fr> |
Tue, 15 Nov 2016 10:13:47 +0100 | |
branch | 3.24 |
changeset 11832 | e8be49ecb522 |
parent 11631 | faf279e33298 |
child 11836 | 21c72857178f |
permissions | -rwxr-xr-x |
11515
b3267ba817b4
Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
1 |
#!/usr/bin/make -f |
0 | 2 |
# Sample debian/rules that uses debhelper. |
3 |
# GNU copyright 1997 to 1999 by Joey Hess. |
|
4 |
||
5 |
# Uncomment this to turn on verbose mode. |
|
11832
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
6 |
# export DH_VERBOSE=1 |
0 | 7 |
|
11832
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
8 |
export PYBUILD_NAME=cubicweb |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
9 |
export PYBUILD_DISABLE_python2=test |
0 | 10 |
|
11832
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
11 |
%: |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
12 |
dh $@ --with python2,sphinxdoc --buildsystem=pybuild |
11515
b3267ba817b4
Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
13 |
|
11832
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
14 |
override_dh_auto_build: export http_proxy=127.0.0.1:9 |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
15 |
override_dh_auto_build: export https_proxy=127.0.0.1:9 |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
16 |
override_dh_auto_build: |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
17 |
dh_auto_build |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
18 |
ifeq (,$(findstring nodocs, $(DEB_BUILD_OPTIONS))) |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
19 |
PYTHONPATH=. sphinx-build -N -bhtml doc/ debian/cubicweb-doc/html |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
20 |
endif |
11515
b3267ba817b4
Initial debian packaging
Julien Cristau <julien.cristau@logilab.fr>
parents:
diff
changeset
|
21 |
|
11832
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
22 |
override_dh_install: |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
23 |
dh_install --sourcedir=debian/python-${PYBUILD_NAME} |
0 | 24 |
|
11832
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
25 |
override_dh_installchangelogs: |
e8be49ecb522
[debian] Update debian packaging (closes #16133259)
David Douard <david.douard@logilab.fr>
parents:
11631
diff
changeset
|
26 |
dh_installchangelogs -Xdoc/changes |
0 | 27 |