Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # See debhelper(7) (uncomment to enable)
3 # output every command that modifies files on the build system.
4 #export DH_VERBOSE = 1
5
6
7 # see FEATURE AREAS in dpkg-buildflags(1)
8 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
10 # see ENVIRONMENT in dpkg-buildflags(1)
11 # package maintainers to append CFLAGS
12 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
13 # package maintainers to append LDFLAGS
14 #export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
15
16
17 %:
18 dh $@ --with python3 --buildsystem=pybuild
19
20 override_dh_auto_configure:
21 # replace logo.png whose copyright and license is unclear upstream
22 rsvg-convert --width 64 debian/arrow.svg > logo.png
23 dh_auto_configure
24
25 override_dh_auto_clean:
26 rm -f logo.png
27 rm -f sphinx_reredirects.egg-info/* .eggs/*
28 dh_auto_clean
29
30 override_dh_auto_test:
31 if [ -d tests ]; then \
32 dh_auto_test; \
33 else \
34 echo "there are no longer tests under the test/ directory"; \
35 echo "since version (0.1.0)"; \
36 fi