File: rules

package info (click to toggle)
libtorrent-rasterbar 2.0.11-3
  • links: PTS
  • area: main
  • in suites: forky, sid
  • size: 18,304 kB
  • sloc: cpp: 190,670; python: 7,142; makefile: 1,374; ansic: 574; sh: 317; xml: 104
file content (37 lines) | stat: -rwxr-xr-x 845 bytes parent folder | download | duplicates (2)
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
37
#!/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 docs/single-page-ref.html

override_dh_auto_install-indep:
override_dh_auto_test:
override_dh_dwz: