File: rules

package info (click to toggle)
tclodbc 2.5.1-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,428 kB
  • sloc: sh: 2,765; cpp: 2,039; tcl: 591; makefile: 220
file content (24 lines) | stat: -rwxr-xr-x 668 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
#!/usr/bin/make -f

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

DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --with-tcl=/usr/lib --libdir=/usr/lib/tcltk -with-tclinclude=/usr/include/tcl --with-odbclibrary=/usr/lib/$(DEB_HOST_MULTIARCH) --enable-threads --enable-shared

override_dh_auto_install:
	dh_auto_install --destdir=debian/tmp
	rm -f debian/tmp/usr/include/tclobj.hxx \
	      debian/tmp/usr/include/tclodbc.hxx
	find debian -name license.txt -delete

override_dh_gencontrol:
	tcltk-depends
	dh_gencontrol