3 # Uncomment this to turn on verbose mode.
6 LDFLAGS += -Wl,-z,defs -Wl,--as-needed
7 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
10 dh $@ --with quilt,autoreconf
12 override_dh_auto_configure:
13 dh_auto_configure -- \
16 --mandir=/usr/share/man \
17 --infodir=/usr/share/info \
19 --with-tclinclude=/usr/include/tcl \
20 --with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH)
22 override_dh_auto_install:
23 dh_auto_install --destdir=$(CURDIR)/debian/mysqltcl
25 mkdir $(CURDIR)/debian/mysqltcl/usr/lib/tcltk
26 mv $(CURDIR)/debian/mysqltcl/usr/lib/mysqltcl* \
27 $(CURDIR)/debian/mysqltcl/usr/lib/tcltk
29 $(CURDIR)/debian/mysqltcl/usr/share/man/mann \
30 $(CURDIR)/debian/mysqltcl/usr/bin \
31 $(CURDIR)/debian/mysqltcl/usr/include
33 override_dh_makeshlibs: