File: rules

package info (click to toggle)
libhx 4.26-1
  • links: PTS, VCS
  • area: main
  • in suites: sid, trixie
  • size: 2,624 kB
  • sloc: ansic: 10,059; sh: 4,846; cpp: 152; makefile: 117
file content (25 lines) | stat: -rwxr-xr-x 603 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#!/usr/bin/make -f
#export DH_VERBOSE=1

export DEB_BUILD_MAINT_OPTIONS = hardening=+all

VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/')

%:
	dh $@

override_dh_auto_configure:
	dh_auto_configure -- --enable-static

override_dh_installchangelogs:
# install custom changelog
	dh_installchangelogs doc/changelog.rst

override_dh_makeshlibs:
	dh_makeshlibs
	dpkg-gensymbols -v$(VERSION) -Pdebian/libhx32t64 -plibhx32t64

override_dh_installdocs:
	dh_installdocs -i -plibhx-doc --doc-main-package=libhx-doc
	dh_installdocs -a -plibhx-dev
	dh_installdocs -a -plibhx32t64