File: rules

package info (click to toggle)
fmtlib 6.1.2+ds-2
  • links: PTS
  • area: main
  • in suites: bullseye, sid
  • size: 2,120 kB
  • sloc: cpp: 14,057; ansic: 1,311; python: 90; sh: 80; makefile: 12
file content (20 lines) | stat: -rwxr-xr-x 447 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
#!/usr/bin/make -f

%:
	dh $@ -B bdir

override_dh_auto_configure:
	dh_auto_configure -- -DFMT_PEDANTIC=on -DCMAKE_POSITION_INDEPENDENT_CODE=on

override_dh_auto_build:
	dh_auto_build -B bdir
	dh_auto_build -B bdir -- doc

override_dh_shlibdeps:
	# dh_shlibdeps silently ignores libfmt-dev since it contains only a static library
	dpkg-shlibdeps -Tdebian/libfmt-dev.substvars -ebdir/bin/posix-test

override_dh_install:
	dh_install
	dh_sphinxdoc