swtpm/debian/rules
Stefan Berger 699c204323 build: Exclude swtpm_cert from Debian package if not found
Exclude the swtpm_cert tool and its man page if it is not found
due to it not being compiled due to backlevel gnutls library.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
2016-01-13 16:23:08 -05:00

18 lines
300 B
Makefile
Executable File

#!/usr/bin/make -f
%:
dh $@ --parallel
override_dh_auto_configure:
./bootstrap.sh
dh_auto_configure -- --with-openssl
override_dh_install:
EXCLUDES=""
if test -z $(find debian/tmp -name swtpm_cert); then \
EXCLUDES="-Xswtpm_cert"; \
fi ; \
dh_install $$EXCLUDES --
override_dh_usrlocal: