File: rules

package info (click to toggle)
yaz 5.37.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,568 kB
  • sloc: xml: 124,223; ansic: 73,221; sh: 5,738; tcl: 2,189; makefile: 1,274; yacc: 382
file content (25 lines) | stat: -rwxr-xr-x 569 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
# -*- makefile -*-

export DEB_BUILD_MAINT_OPTIONS=hardening=+all
export DPKG_GENSYMBOLS_CHECK_LEVEL = 4

%:
	dh $@

execute_before_dh_clean:
	$(RM) doc/local.ent

override_dh_auto_configure:
	dh_auto_configure -- \
		--enable-tcpd --with-xslt \
		--with-gnutls --with-icu --with-xml2

override_dh_installdocs-indep:
	for i in 1 7 8; do \
	    sed -i -r 's/([0-9]+\/){2}[0-9]+//' debian/tmp/usr/share/man/man$$i/*.$$i; \
	done
	dh_installdocs -p yaz-doc --doc-main-package=libyaz-dev

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog