Debian Codegraph @

debian/rules

raw
1 #! /usr/bin/make -f
2
3 export PYBUILD_NAME=mdformat
4
5 %:
6 dh $@ --buildsystem=pybuild
7
8 execute_after_dh_installdocs:
9 # remove cruft from the sphinx docs, should really be properly
10 # built instead
11 rm -r debian/mdformat/usr/share/doc/mdformat/_static/
12 rm -r debian/mdformat/usr/share/doc/mdformat/conf.py
13 rm -r debian/mdformat/usr/share/doc/mdformat/requirements.txt
14 # could also be done with a dh_installchangelogs override, but
15 # then we'd need to remove this file anyway
16 mv debian/mdformat/usr/share/doc/mdformat/users/changelog.md debian/mdformat/usr/share/doc/mdformat/changelog