File: rules

package info (click to toggle)
tclcl 1.20-9.1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 968 kB
  • sloc: sh: 3,726; cpp: 2,154; tcl: 1,414; ansic: 264; makefile: 162; perl: 49
file content (21 lines) | stat: -rwxr-xr-x 472 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/usr/bin/make -f
export DH_VERBOSE=1

LDFLAGS+=-Wl,--as-needed
DEB_HOST_MULTIARCH?=$(shell dpkg-architecture -qDEB_HOST_MULTIARCH)

%:
	dh  $@

override_dh_auto_configure:
	cp debian/CMakeLists.txt .
	cp debian/tclcl.pc.cmake .
	cp debian/config-tclcl.h.cmake .
	dh_auto_configure -Scmake -- -DLIB_INSTALL_DIR=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)

override_dh_installchangelogs:
	dh_installchangelogs CHANGES.html

override_dh_strip:
	dh_strip --dbg-package=tclcl-dbg