aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/cms/Makefile.am5
-rw-r--r--tests/openpgp/Makefile.am5
-rw-r--r--tests/pkits/Makefile.am5
3 files changed, 12 insertions, 3 deletions
diff --git a/tests/cms/Makefile.am b/tests/cms/Makefile.am
index f6a9c6099..57e31c973 100644
--- a/tests/cms/Makefile.am
+++ b/tests/cms/Makefile.am
@@ -113,7 +113,10 @@ EXTRA_DIST = $(XTESTS) $(KEYS) $(CERTS) $(TEST_FILES) \
runtest inittests $(testscripts) \
gpgsm-defs.scm run-tests.scm setup.scm all-tests.scm
-CLEANFILES = inittests.stamp *.lock *.log report.xml .\#lk*
+CLEANFILES = inittests.stamp *.lock *.log report.xml
+
+# Path with # (octal 043) needs special care in portable Makefile.
+CLEANFILES += `printf '.\043lk*'`
DISTCLEANFILES = pubring.kbx~ random_seed
diff --git a/tests/openpgp/Makefile.am b/tests/openpgp/Makefile.am
index 05270d2e1..3c48ad357 100644
--- a/tests/openpgp/Makefile.am
+++ b/tests/openpgp/Makefile.am
@@ -307,13 +307,16 @@ EXTRA_DIST = defs.scm trust-pgp/common.scm $(XTESTS) $(TEST_FILES) \
setup.scm shell.scm all-tests.scm signed-messages.scm
CLEANFILES = prepared.stamp x y yy z out err $(data_files) \
- plain-1 plain-2 plain-3 trustdb.gpg *.lock .\#lk* \
+ plain-1 plain-2 plain-3 trustdb.gpg *.lock \
*.log gpg_dearmor gpg.conf gpg-agent.conf S.gpg-agent \
pubring.gpg pubring.gpg~ pubring.kbx pubring.kbx~ \
common.conf secring.gpg pubring.pkr secring.skr \
gnupg-test.stop random_seed gpg-agent.log tofu.db \
passphrases sshcontrol S.gpg-agent.ssh report.xml
+# Path with # (octal 043) needs special care in portable Makefile.
+CLEANFILES += `printf '.\043lk*'`
+
clean-local:
-rm -rf private-keys-v1.d openpgp-revocs.d tofu.d gpgtar.d
diff --git a/tests/pkits/Makefile.am b/tests/pkits/Makefile.am
index d25dd91a6..f21ea8d04 100644
--- a/tests/pkits/Makefile.am
+++ b/tests/pkits/Makefile.am
@@ -50,7 +50,10 @@ EXTRA_DIST = inittests runtest common.sh $(testscripts) ChangeLog-2011 \
TESTS =
-CLEANFILES = inittests.stamp scratch.*.tmp x y z out err *.lock .\#lk* *.log
+CLEANFILES = inittests.stamp scratch.*.tmp x y z out err *.lock *.log
+
+# Path with # (octal 043) needs special care in portable Makefile.
+CLEANFILES += `printf '.\043lk*'`
DISTCLEANFILES = pubring.kbx~ random_seed