File: rules

package info (click to toggle)
sqliteodbc 0.9996-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 4,640 kB
  • sloc: ansic: 58,334; sh: 12,515; makefile: 952; sql: 313
file content (30 lines) | stat: -rwxr-xr-x 777 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
#!/usr/bin/make -f

export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk

%:
	dh $@ \
	  --with autoreconf

override_dh_auto_configure:
	dh_auto_configure -- \
	  --disable-static

override_dh_autoreconf:
	test -e libtool.upstream || mv libtool libtool.upstream
	test -e aclocal.m4.upstream || mv aclocal.m4 aclocal.m4.upstream
	dh_autoreconf

override_dh_autoreconf_clean:
	dh_autoreconf_clean
	test -e libtool.upstream && mv libtool.upstream libtool || true
	test -e aclocal.m4.upstream && mv aclocal.m4.upstream aclocal.m4 || true

override_dh_makeshlibs:
	dh_makeshlibs -plibsqliteodbc --noscripts
	dh_makeshlibs -Nlibsqliteodbc

override_dh_strip:
	dh_strip --dbgsym-migration='libsqliteodbc-dbg (<< 0.9992-1~)'