File: rules

package info (click to toggle)
idzebra 2.2.8-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 10,572 kB
  • sloc: ansic: 54,389; xml: 27,058; sh: 5,892; makefile: 1,102; perl: 210; tcl: 64
file content (29 lines) | stat: -rwxr-xr-x 674 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
21
22
23
24
25
26
27
28
29
#!/usr/bin/make -f

include /usr/share/dpkg/pkg-info.mk

export DEB_BUILD_MAINT_OPTIONS=hardening=+all

dep_ver:= $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '.' -f -2)

%:
	dh $@

execute_before_dh_clean:
	$(RM) doc/local.ent

override_dh_auto_configure:
	dh_auto_configure -- --with-yaz=pkg

override_dh_installchangelogs-indep:
	dh_installchangelogs -XChangeLog

override_dh_installchangelogs:
	dh_installchangelogs -XChangeLog

override_dh_installexamples-indep:
	dh_installexamples -p idzebra-2.0-examples --doc-main-package=idzebra-2.0
	dh_installexamples --remaining-packages

override_dh_makeshlibs:
	dh_makeshlibs -a -V 'libidzebra-2.0-0 (>= $(dep_ver))' -X mod-