Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_LDFLAGS_MAINT_APPEND += -Wl,-z,defs
4 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
5
6 %:
7 dh $@ -Scmake+ninja
8
9 execute_after_dh_clean:
10 rm -rf docs/doxygen
11
12 override_dh_autoreconf:
13
14 override_dh_auto_configure-arch:
15 dh_auto_configure -- \
16 -DUPNP_BUILD_STATIC=OFF
17
18 override_dh_auto_configure-indep:
19
20 override_dh_auto_build-indep:
21 cd docs && doxygen
22 find docs/doxygen/html -name "*.md5" -o -name "*.map" -delete
23
24 override_dh_auto_install-indep:
25
26 # Tests disabled because they access the network.
27 override_dh_auto_test-arch:
28 override_dh_auto_test-indep: