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-
|