Debian Codegraph @

debian/rules

raw
1 #!/usr/bin/make -f
2
3 # Uncomment this to turn on verbose mode.
4 #export DH_VERBOSE=1
5
6 include /usr/share/dpkg/architecture.mk
7
8 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
9
10 %:
11 dh $@
12
13 override_dh_clean:
14 dh_clean pvr.vdr.vnsi/addon.xml
15
16 override_dh_auto_configure:
17 # basilgello: -DCMAKE_INSTALL_DIR silences Kodi buildsystem
18 # warning triggered by dh_configure unnecessarily overriding
19 # install directory
20 # -DUSE_LTO=0 disables LTO and makes build reproducible
21 dh_auto_configure -- -DCMAKE_BUILD_TYPE=ReleaseWithDebInfo \
22 -DBUILD_SHARED_LIBS=1 \
23 -DCMAKE_INSTALL_LIBDIR=/usr/lib/$(DEB_HOST_MULTIARCH)/kodi \
24 -DUSE_LTO=0