Debian Codegraph @

debian/rules

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