#!/usr/bin/make -f # -*- makefile -*- TCLVERSIONS = 8.6 9.0 DPKG_EXPORT_BUILDFLAGS = 1 include /usr/share/dpkg/buildflags.mk include /usr/share/dpkg/architecture.mk %: dh $@ override_dh_auto_configure: for v in $(TCLVERSIONS) ; do \ dh_auto_configure -B$(CURDIR)/debian/$$v -- \ --with-tcl=/usr/lib/tcl$$v \ --with-tclinclude=/usr/include/tcl$$v ; \ done override_dh_auto_install: for v in $(TCLVERSIONS) ; do \ $(MAKE) -C$(CURDIR)/debian/$$v install-binaries DESTDIR=$(CURDIR)/debian/tmp ; \ find $(CURDIR)/debian/tmp -empty -prune -exec rmdir \{\} \; ; \ done override_dh_shlibdeps: tcltk-depends dh_shlibdeps override_dh_auto_test: .PHONY: override_dh_auto_clean override_dh_auto_configure \ override_dh_auto_install override_dh_shlibdeps \ override_dh_auto_test