| 1 |
#!/usr/bin/make -f |
| 2 |
export PYBUILD_NAME = luma.lcd |
| 3 |
|
| 4 |
%: |
| 5 |
dh $@ --with python3 --with sphinxdoc --buildsystem=pybuild |
| 6 |
|
| 7 |
execute_after_dh_auto_clean: |
| 8 |
rm -rf *luma.lcd.egg-info |
| 9 |
rm -rf doc/_build |
| 10 |
|
| 11 |
execute_before_dh_auto_install-indep: |
| 12 |
cd $(CURDIR)/doc && PYTHONPATH=$(CURDIR) make html |
| 13 |
cd $(CURDIR)/doc//_build/html && find . -type f -print0 | xargs -0 sed -i 's/https:\/\/coveralls.io//g' |
| 14 |
cd $(CURDIR)/doc//_build/html && find . -type f -print0 | xargs -0 sed -i 's/https:\/\/img.shields.io//g' |
| 15 |
cd $(CURDIR)/doc//_build/html && find . -type f -print0 | xargs -0 sed -i 's/https:\/\/raw.githubusercontent//g' |
| 16 |
cd $(CURDIR)/doc//_build/html && find . -type f -print0 | xargs -0 sed -i 's/https:\/\/readthedocs.org//g' |
| 17 |
cd $(CURDIR)/doc//_build/html && find . -type f -print0 | xargs -0 sed -i 's/https:\/\/travis-ci.org//g' |
| 18 |
cd $(CURDIR)/doc//_build/html && find . -type f -print0 | xargs -0 sed -i 's/https:\/\/github\.com\/rm-hull//g' |