aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2025-11-14 06:34:11 +0000
committerNIIBE Yutaka <[email protected]>2025-11-14 06:34:11 +0000
commitd1cde3e36463a048364c9cf799684c8f771775c7 (patch)
treef7509e49feda5625238038d1ae3158654788fcb3
parentcommon: Fix the test of t-stringhelp. (diff)
downloadgnupg-d1cde3e36463a048364c9cf799684c8f771775c7.tar.gz
gnupg-d1cde3e36463a048364c9cf799684c8f771775c7.zip
build: Silence automake about escaping #.
* tests/cms/Makefile.am (CLEANFILE): Use printf to generate 043 char. * tests/openpgp/Makefile.am (CLEANFILES): Ditto. * tests/pkits/Makefile.am (CLEANFILES): Ditto. -- Signed-off-by: NIIBE Yutaka <[email protected]>
-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