| 1 |
#!/usr/bin/make -f |
| 2 |
|
| 3 |
export PYBUILD_NAME=cryptolyzer |
| 4 |
|
| 5 |
%: |
| 6 |
dh $* --with python3,sphinxdoc --buildsystem=pybuild |
| 7 |
|
| 8 |
execute_before_dh_sphinxdoc: |
| 9 |
PYTHONPATH=. python3 -m sphinx -b html -N docs/ \ |
| 10 |
$(CURDIR)/debian/python-cryptolyzer-doc/usr/share/doc/python-cryptolyzer-doc/html |
| 11 |
|
| 12 |
execute_before_dh_auto_test: |
| 13 |
cd cryptolyzer; ln -fs ../tools . |
| 14 |
|
| 15 |
execute_after_dh_auto_install: |
| 16 |
rm -rf $(CURDIR)/debian/python3-cryptolyzer/usr/lib/python3*/dist-packages/build/ \ |
| 17 |
$(CURDIR)/debian/python3-cryptolyzer/usr/lib/python3*/dist-packages/docs/ |
| 18 |
for t in $(CURDIR)/debian/python3-cryptolyzer/usr/lib/python3*/dist-packages/tools/; do \ |
| 19 |
mv $$t $$t/../cryptolyzer/; \ |
| 20 |
done |