File: rules

package info (click to toggle)
libtorrent-rasterbar 2.0.8-1
  • links: PTS
  • area: main
  • in suites: bookworm
  • size: 23,832 kB
  • sloc: cpp: 178,209; python: 7,152; makefile: 1,368; sh: 617; ansic: 574; xml: 104; perl: 100
file content (36 lines) | stat: -rwxr-xr-x 817 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/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

# git clone https://github.com/arvidn/try_signal.git deps/try_signal
# git clone https://github.com/arvidn/libsimulator.git simulation/libsimulator

%:
	dh $@ -Scmake+ninja

override_dh_auto_configure:
	dh_auto_configure -- \
	-Dpython-bindings=ON -Dpython-egg-info=ON

#	exit 1

override_dh_auto_build-arch:
	dh_auto_build -- \
	-d explain -d keepdepfile -d keeprsp

override_dh_auto_build-indep:
	make -C docs

override_dh_clean-indep:
#	make clean -C docs

	dh_clean docs/single-page-ref.rst

override_dh_auto_install-indep:
override_dh_auto_test:
override_dh_dwz: