File: rules

package info (click to toggle)
sfst 1.7.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,036 kB
  • sloc: cpp: 6,969; lex: 567; yacc: 269; perl: 135; python: 100; makefile: 49; sh: 13
file content (26 lines) | stat: -rwxr-xr-x 691 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
#!/usr/bin/make -f
# -*- makefile -*-

# Uncomment this to turn on verbose mode.
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

# This has to be exported to make some magic below work.
export DH_OPTIONS

export DH_BUILD_DIR = build
export DH_SOURCE_DIR = .

%:
	dh $@ --buildsystem=cmake --builddirectory=build

# Build system needs to create static and shared library (which means patching cmake files) so we can't use d-shlibs yet
#override_dh_install:
#	dh_install
#	d-shlibmove --commit \
#		    --multiarch \
#		    --devunversioned \
#		    --exclude-la \
#                    --movedev debian/tmp/usr/include usr \
#                    debian/tmp/usr/lib/*/*.so