#!/usr/bin/make -f DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk ifneq (,$(filter $(DEB_HOST_ARCH), armel mipsel m68k powerpc riscv64 sh4)) export DEB_LDFLAGS_MAINT_APPEND += -Wl,--no-as-needed -latomic -Wl,--as-needed endif %: dh $@ -Scmake+ninja override_dh_auto_configure: dh_auto_configure -- \ -DUSE_SYSTEM_JSON=ON \ -Dpython-bindings=ON \ -Dpython-egg-info=ON \ -Dpython-install-system-dir=ON \ -DUSE_SYSTEM_USRSCTP=OFF \ -DUSE_SYSTEM_SRTP=ON \ -DUSE_SYSTEM_JUICE=OFF \ -DNO_TESTS=OFF \ -Wno-dev # exit 1 override_dh_auto_build-arch: dh_auto_build -- \ -dexplain -dkeepdepfile -dkeeprsp execute_after_dh_auto_install: -rm debian/tmp/usr/lib/*/libdatachannel-static.a -rm debian/tmp/usr/lib/*/libjuice-static.a -rm debian/tmp/usr/lib/*/libusrsctp.a override_dh_auto_build-indep: make -C docs override_dh_clean: make clean -C docs dh_clean tags docs/*.html \ docs/include/libtorrent/*.hpp docs/plain_text_out.txt \ docs/*.png docs/favicon.ico docs/settings-ref.rst \ docs/hunspell/settings.dic docs/single-page-ref.rst override_dh_auto_install-indep: override_dh_auto_test: override_dh_dwz: