File: rules

package info (click to toggle)
otcl 1.14+dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, buster, sid
  • size: 804 kB
  • sloc: sh: 2,819; ansic: 1,951; tcl: 825; makefile: 116; perl: 49
file content (20 lines) | stat: -rwxr-xr-x 497 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/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/otcl.pc.cmake .
	dh_auto_configure -Scmake -- -DLIB_INSTALL_DIR=\$${prefix}/lib/$(DEB_HOST_MULTIARCH)
override_dh_auto_test:
#  test failed,reported it to upstream
override_dh_installchangelogs:
	dh_installchangelogs CHANGES.html

override_dh_strip:
	dh_strip --dbg-package=otcl-dbg