| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
|
| 6 |
%: |
| 7 |
dh $@ --with python3,sphinxdoc --buildsystem=pybuild |
| 8 |
|
| 9 |
execute_before_dh_sphinxdoc: |
| 10 |
ifeq (,$(findstring nodoc, $(DEB_BUILD_OPTIONS))) |
| 11 |
PYTHONPATH=$(CURDIR) python3 -m sphinx -b html -d $(CURDIR)/docs/.build/.doctrees -N $(CURDIR)/docs/source $(CURDIR)/debian/python-webvtt-doc/usr/share/doc/python-webvtt-doc/html |
| 12 |
endif |
| 13 |
|
| 14 |
execute_before_dh_installman: |
| 15 |
PYTHONPATH=$(CURDIR) help2man --no-discard-stderr -n 'Segment WebVTT files' $(CURDIR)/debian/tmp/usr/bin/webvtt >$(CURDIR)/webvtt.1 |
| 16 |
|
| 17 |
execute_after_dh_clean: |
| 18 |
rm -rf $(CURDIR)/docs/.build/ |