File: rules

package info (click to toggle)
sqliteodbc 0.9998-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 4,972 kB
  • sloc: ansic: 58,935; sh: 12,618; makefile: 952; sql: 313
file content (31 lines) | stat: -rwxr-xr-x 796 bytes parent folder | download | duplicates (4)
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
#!/usr/bin/make -f

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

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- \
	  --disable-static

override_dh_auto_install:
	dh_auto_install
	# remove *.la files
	rm -f debian/tmp/usr/lib/*/*.la debian/tmp/usr/lib/*/*/*.la

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