Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 export DEB_BUILD_MAINT_OPTIONS=hardening=+all
4 DPKG_EXPORT_BUILDFLAGS=1
5
6 include /usr/share/dpkg/default.mk
7
8 %:
9 dh $@
10
11 override_dh_auto_build:
12 dh_auto_build -- DEBUG="-g" ARCH= USE_SSL=1 PREFIX=/usr
13
14 override_dh_auto_install:
15 dh_auto_install -- LIBRARY_PATH="lib/$(DEB_HOST_MULTIARCH)" \
16 PREFIX=/usr USE_SSL=1
17
18 execute_after_dh_fixperms:
19 chmod 644 debian/libhiredict-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*.pc
20 chmod 644 debian/libhiredict-shims-dev/usr/lib/$(DEB_HOST_MULTIARCH)/pkgconfig/*.pc
21 chmod 644 debian/libhiredict-dev/usr/lib/$(DEB_HOST_MULTIARCH)/cmake/Hiredict/*.cmake
22
23 override_dh_auto_test:
24 # Tests are run with autopkgtest to break circular dependency loop on the
25 # redict package.