3 # Uncomment this to turn on verbose mode.
6 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
7 DPKG_EXPORT_BUILDFLAGS = 1
8 include /usr/share/dpkg/buildflags.mk
10 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
15 override_dh_auto_configure:
16 dh_auto_configure -- \
19 --mandir=/usr/share/man \
20 --infodir=/usr/share/info \
22 --with-tclinclude=/usr/include/tcl \
23 --with-mysql-lib=/usr/lib/$(DEB_HOST_MULTIARCH)
25 override_dh_auto_install:
26 dh_auto_install --destdir=$(CURDIR)/debian/mysqltcl
28 mkdir -p $(CURDIR)/debian/mysqltcl/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
29 mv $(CURDIR)/debian/mysqltcl/usr/lib/$(DEB_HOST_MULTIARCH)/mysqltcl* \
30 $(CURDIR)/debian/mysqltcl/usr/lib/tcltk/$(DEB_HOST_MULTIARCH)
32 $(CURDIR)/debian/mysqltcl/usr/share/man/mann \
33 $(CURDIR)/debian/mysqltcl/usr/bin \
34 $(CURDIR)/debian/mysqltcl/usr/include \
35 $(CURDIR)/debian/mysqltcl/usr/lib/$(DEB_HOST_MULTIARCH)
37 override_dh_makeshlibs: