3 # Uncomment this to turn on verbose mode.
6 DPKG_EXPORT_BUILDFLAGS = 1
7 include /usr/share/dpkg/buildflags.mk
9 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
12 dh $@ --with quilt,autoreconf
14 override_dh_auto_configure:
15 dh_auto_configure -- \
18 --mandir=/usr/share/man \
19 --infodir=/usr/share/info \
21 --with-tclinclude=/usr/include/tcl \
22 --with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH)
24 override_dh_auto_install:
25 dh_auto_install --destdir=$(CURDIR)/debian/mysqltcl
27 mkdir $(CURDIR)/debian/mysqltcl/usr/lib/tcltk
28 mv $(CURDIR)/debian/mysqltcl/usr/lib/mysqltcl* \
29 $(CURDIR)/debian/mysqltcl/usr/lib/tcltk
31 $(CURDIR)/debian/mysqltcl/usr/share/man/mann \
32 $(CURDIR)/debian/mysqltcl/usr/bin \
33 $(CURDIR)/debian/mysqltcl/usr/include
35 override_dh_makeshlibs: