Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2 # -*- makefile -*-
3 # Uncomment this to turn on verbose mode.
4 # export DH_VERBOSE=1
5
6 # see FEATURE AREAS in dpkg-buildflags(1)
7 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
8
9 # see ENVIRONMENT in dpkg-buildflags(1)
10 # package maintainers to append CFLAGS
11 #export DEB_CFLAGS_MAINT_APPEND = -Wall -pedantic
12 # package maintainers to append LDFLAGS
13 export DEB_LDFLAGS_MAINT_APPEND =
14
15 # Test does not work when built with system libzstd library
16 export PYBUILD_TEST_ARGS=-k 'not test_features'
17
18 export ZSTD_EXTRA_COMPILER_ARGS = -I/usr/include
19
20 %:
21 dh $@ --buildsystem=pybuild
22
23 override_dh_auto_configure:
24 dh_auto_configure -- \
25 --configure-args=--system-zstd \
26 $(NULL)
27
28 execute_after_dh_auto_build:
29 cd docs; LC_ALL=C.UTF-8 LANGUAGE=C.UTF-8 sphinx-build -bhtml . _build/html
30
31 execute_after_dh_installdocs:
32 dh_sphinxdoc