build: Fix distcheck when tpm2dtests are run.

* tests/tpm2dtests/Makefile.am (EXTRA_DIST): Distribute test files.
(CLEANFILES): Make sure to remove log files.

Signed-off-by: Damien Goutte-Gattat <dgouttegattat@incenp.org>
This commit is contained in:
Damien Goutte-Gattat via Gnupg-devel 2021-03-15 21:20:04 +00:00 committed by Werner Koch
parent a788f2e830
commit ad481666ea
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
1 changed files with 3 additions and 2 deletions

View File

@ -61,14 +61,15 @@ xcheck: tpm_server_found
tpm_server_found:
@if [ -z "$(TPMSERVER)" -a -z "$(SWTPM)" -a -z "$(FORCE)" ]; then echo "ERROR: No Software TPM has been found, cannot run TPM tests. Set FORCE=1 to force using the physical TPM"; exit 1; fi
EXTRA_DIST = defs.scm shell.scm all-tests.scm start_sw_tpm.sh
EXTRA_DIST = defs.scm shell.scm all-tests.scm run-tests.scm $(XTESTS) \
start_sw_tpm.sh
CLEANFILES = gpg.conf gpg-agent.conf S.gpg-agent \
pubring.gpg pubring.gpg~ pubring.kbx pubring.kbx~ \
secring.gpg pubring.pkr secring.skr \
gnupg-test.stop random_seed gpg-agent.log tofu.db \
passphrases sshcontrol S.gpg-agent.ssh report.xml \
msg.txt
msg.txt *.log
clean-local:
-rm -rf private-keys-v1.d openpgp-revocs.d