chiark
/
gitweb
/
~ian
/
chiark-tcl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changelog: finalise 1.3.2
[chiark-tcl.git]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index f9ed503fb1637fdfe7b2cf0b3016607821366f5c..f065f68d4fb414ce649dab7becf63a018650d15e 100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-26,11
+26,14
@@
docdir=usr/share/doc/$(docpackage)
tclh:=$(firstword $(wildcard /usr/include/tcl8.*/tcl.h))
tclversion:=$(patsubst /usr/include/tcl%/tcl.h,%,$(tclh))
tclh:=$(firstword $(wildcard /usr/include/tcl8.*/tcl.h))
tclversion:=$(patsubst /usr/include/tcl%/tcl.h,%,$(tclh))
+tcl_versions= 8.5 8.6 8.7
+
+march := $(shell dpkg-architecture -q DEB_HOST_MULTIARCH)
+libsubdir = /$(march)
+
garch := $(shell dpkg-architecture -q DEB_HOST_GNU_TYPE)
ifneq ($(garch),)
garch := $(shell dpkg-architecture -q DEB_HOST_GNU_TYPE)
ifneq ($(garch),)
-libsubdir = /$(garch)
-
ifeq ($(origin CC),default)
export CC=$(garch)-gcc
endif
ifeq ($(origin CC),default)
export CC=$(garch)-gcc
endif
@@
-103,4
+106,8
@@
checkroot:
$(checkdir)
dh_testroot
$(checkdir)
dh_testroot
+debian/tests/control: debian/regenerate-autopkgtests debian/rules
+ $(MAKE) debian-substvars
+ $< $(tcl_versions)
+
.PHONY: binary binary-arch binary-indep clean checkroot
.PHONY: binary binary-arch binary-indep clean checkroot