Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 export PYBUILD_NAME = luma.core
3
4 %:
5 dh $@ --with python3 --with sphinxdoc --buildsystem=pybuild
6
7 execute_before_dh_auto_clean:
8 rm -rf *luma.core.egg-info
9 rm -rf doc/_build
10 rm -rf .pybuild
11
12 execute_after_dh_auto_install-indep:
13 cd $(CURDIR)/doc && 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/src=\"https:\/\/github.com/src=\"/g'
16 cd $(CURDIR)/doc//_build/html && find . -type f -print0 | xargs -0 sed -i 's/https:\/\/img.shields.io//g'
17 cd $(CURDIR)/doc//_build/html && find . -type f -print0 | xargs -0 sed -i 's/https:\/\/raw.githubusercontent//g'
18 cd $(CURDIR)/doc//_build/html && find . -type f -print0 | xargs -0 sed -i 's/https:\/\/readthedocs.org//g'