File: rules

package info (click to toggle)
libcereal 1.3.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 2,084 kB
  • sloc: cpp: 19,199; xml: 178; sh: 54; makefile: 12
file content (18 lines) | stat: -rwxr-xr-x 444 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/usr/bin/make -f

ifneq (,$(filter $(DEB_HOST_ARCH),armel m68k mips mipsel powerpc sh4))
  EXTRA=-DCMAKE_CXX_STANDARD_LIBRARIES=-latomic
endif

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DSKIP_PORTABILITY_TEST=on $(EXTRA)

override_dh_auto_build:
	dh_auto_build -- all doc

override_dh_install:
	dh_install --exclude license
	find debian/*/usr/share/doc -name CMakeLists.txt -exec sed -i '/add_subdirectory(doc)/d' \{\} \;