aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>2016-09-20 17:46:04 +0000
committerWerner Koch <[email protected]>2016-09-20 17:46:04 +0000
commit29207bcd3bf4de7264197db6758130375b16d9bb (patch)
treecf69121bf1b58a24d48a9168d1154c099d4ad409
parentbuild: Create swdb file. (diff)
downloadgpgme-29207bcd3bf4de7264197db6758130375b16d9bb.tar.gz
gpgme-29207bcd3bf4de7264197db6758130375b16d9bb.zip
tests: Improve portability.
* lang/qt/tests/Makefile.am (clean-local): Avoid non-portable "--" * lang/python/Makefile.am (copystamp): Use well defined cp -R instead of cp -r. Signed-off-by: Werner Koch <[email protected]>
-rw-r--r--lang/python/Makefile.am4
-rw-r--r--lang/qt/tests/Makefile.am2
2 files changed, 3 insertions, 3 deletions
diff --git a/lang/python/Makefile.am b/lang/python/Makefile.am
index 9ec9c4aa..da626d1b 100644
--- a/lang/python/Makefile.am
+++ b/lang/python/Makefile.am
@@ -48,8 +48,8 @@ COPY_FILES_PYME = \
# distutils are not VPATH-aware.
copystamp: $(COPY_FILES) $(COPY_FILES_PYME)
if test "$(srcdir)" != "$(builddir)" ; then \
- cp -r $(COPY_FILES) . ; \
- cp -r $(COPY_FILES_PYME) pyme ; \
+ cp -R $(COPY_FILES) . ; \
+ cp -R $(COPY_FILES_PYME) pyme ; \
fi
touch $@
diff --git a/lang/qt/tests/Makefile.am b/lang/qt/tests/Makefile.am
index 90f29781..f243a55e 100644
--- a/lang/qt/tests/Makefile.am
+++ b/lang/qt/tests/Makefile.am
@@ -71,7 +71,7 @@ CLEANFILES = secring.gpg pubring.gpg pubring.kbx trustdb.gpg dirmngr.conf \
gpg.conf
clean-local:
- -rm -fR -- private-keys-v1.d
+ -rm -fR private-keys-v1.d crls.d
export GNUPGHOME := $(abs_builddir)