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 <wk@gnupg.org>
This commit is contained in:
Werner Koch 2016-09-20 19:46:04 +02:00
parent df7e92b4d5
commit 29207bcd3b
No known key found for this signature in database
GPG Key ID: E3FDFF218E45B72B
2 changed files with 3 additions and 3 deletions

View File

@ -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 $@

View File

@ -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)