Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export PYBUILD_NAME=grapefruit
4
5 PYVERS := $(shell pyversions -r)
6 UPSTREAM = $(shell dpkg-parsechangelog | egrep '^Version: ' | cut -d ' ' -f 2- | sed 's/+dfsg.*//')
7
8 %:
9 dh $@ --buildsystem=pybuild
10
11 override_dh_auto_build:
12 dh_auto_build
13 PYTHONPATH=$(shell pwd) make -C doc/ html
14
15 override_dh_auto_clean:
16 dh_auto_clean
17 rm -rf docs/_build
18
19 get-orig-source:
20 gzip -cd '../grapefruit_$(UPSTREAM).orig.tar.gz' | tar --delete doc/_static/GrapeFruit.png | gzip > '../grapefruit_$(UPSTREAM)+dfsg.orig.tar.gz'