File: rules

package info (click to toggle)
mariadb-connector-odbc 3.1.9-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, sid
  • size: 1,668 kB
  • sloc: ansic: 17,154; sh: 101; makefile: 11
file content (17 lines) | stat: -rwxr-xr-x 510 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#!/usr/bin/make -f
# output every command that modifies files on the build system.
export DH_VERBOSE = 1

export DEB_CFLAGS_MAINT_APPEND = -I/usr/include/mariadb

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- -DMARIADB_LINK_DYNAMIC=yes -DINSTALL_LIBDIR=lib/$(DEB_HOST_MULTIARCH)/odbc

override_dh_install:
	dh_install
	mkdir -p debian/odbc-mariadb/usr/share/doc/odbc-mariadb/
	mv debian/odbc-mariadb/usr/docs/* debian/odbc-mariadb/usr/share/doc/odbc-mariadb/
	rmdir debian/odbc-mariadb/usr/docs