mirror of
git://git.gnupg.org/gnupg.git
synced 2025-03-28 22:49:59 +01:00
Added distfiles kludge to distribute the content of the samplekeys directory.
This commit is contained in:
parent
74a84ca93b
commit
0e43a57953
@ -22,7 +22,7 @@
|
|||||||
GPGSM = ../sm/gpgsm
|
GPGSM = ../sm/gpgsm
|
||||||
|
|
||||||
# We can't unset a variable here so we unset GPG_AGENT_INFO in runtest
|
# We can't unset a variable here so we unset GPG_AGENT_INFO in runtest
|
||||||
TESTS_ENVIRONMENT = GNUPGHOME=`pwd` LC_ALL=C GPGSM=${GPGSM} ./runtest
|
TESTS_ENVIRONMENT = GNUPGHOME=`pwd` LC_ALL=C GPGSM=$(GPGSM) $(srcdir)/runtest
|
||||||
|
|
||||||
EXTRA_DIST = runtest inittests \
|
EXTRA_DIST = runtest inittests \
|
||||||
text-1.txt text-2.txt text-3.txt \
|
text-1.txt text-2.txt text-3.txt \
|
||||||
@ -50,6 +50,15 @@ inittests.stamp: inittests
|
|||||||
$(TESTS_ENVIRONMENT) $(srcdir)/inittests
|
$(TESTS_ENVIRONMENT) $(srcdir)/inittests
|
||||||
echo timestamp >./inittests.stamp
|
echo timestamp >./inittests.stamp
|
||||||
|
|
||||||
|
# Include all files listed in the samplekeys/distfiles
|
||||||
|
dist-hook:
|
||||||
|
@set -e; \
|
||||||
|
dir=$(srcdir)/samplekeys ; \
|
||||||
|
$(mkinstalldirs) $(distdir)/$$dir ; \
|
||||||
|
for i in distfiles `cat $$dir/distfiles` ; do \
|
||||||
|
ln $(srcdir)/$$dir/$$i $(distdir)/$$dir/$$i 2> /dev/null \
|
||||||
|
|| cp -p $(srcdir)/$$dir/$$i $(distdir)/$$dir/$$i; \
|
||||||
|
done
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
4
tests/samplekeys/distfiles
Normal file
4
tests/samplekeys/distfiles
Normal file
@ -0,0 +1,4 @@
|
|||||||
|
32100C27173EF6E9C4E9A25D3D69F86D37A4F939.key
|
||||||
|
cert_g10code_pete1.pem
|
||||||
|
cert_g10code_test1.pem
|
||||||
|
cert_g10code_theo1.pem
|
Loading…
x
Reference in New Issue
Block a user