0This allows us to:
1
21. Retain the automatic inclusion of bootstrapped files inside dist
3 source tarballs
42. Also automatically include all git-tracked files in EXTRA_DIST
5
6Notes:
7
81. We already rely on git for `make dist` anyway (see dist-hook).
92. As of automake:77d39959511295f5a30332d5d03f0a6956bd9460 (this is just
10 the latest master I have so there's a point of reference for the
11 future), we can observe the behaviour of `make dist` in
12 `lib/am/distdir.am`. Search for the `distdir-am` target within that
13 file. You will see that if a file was already added to the distdir,
14 it won't be added again.
I also performed a gitian build, here’s a diff of the source tarball and one produced with simply git archive
, as expected, the difference is only in the bootstrapped files.
0$ diff -rl gitian git
1Only in gitian: aclocal.m4
2Only in gitian/build-aux: compile
3Only in gitian/build-aux: config.guess
4Only in gitian/build-aux: config.sub
5Only in gitian/build-aux: depcomp
6Only in gitian/build-aux: install-sh
7Only in gitian/build-aux: ltmain.sh
8Only in gitian/build-aux/m4: libtool.m4
9Only in gitian/build-aux/m4: lt~obsolete.m4
10Only in gitian/build-aux/m4: ltoptions.m4
11Only in gitian/build-aux/m4: ltsugar.m4
12Only in gitian/build-aux/m4: ltversion.m4
13Only in gitian/build-aux: missing
14Only in gitian/build-aux: test-driver
15Only in gitian: configure
16Only in gitian/doc/man: Makefile.in
17Only in gitian: Makefile.in
18Only in gitian/src/config: bitcoin-config.h.in
19Only in gitian/src: Makefile.in
20Only in gitian/src/secp256k1: aclocal.m4
21Only in gitian/src/secp256k1/build-aux: compile
22Only in gitian/src/secp256k1/build-aux: config.guess
23Only in gitian/src/secp256k1/build-aux: config.sub
24Only in gitian/src/secp256k1/build-aux: depcomp
25Only in gitian/src/secp256k1/build-aux: install-sh
26Only in gitian/src/secp256k1/build-aux: ltmain.sh
27Only in gitian/src/secp256k1/build-aux/m4: libtool.m4
28Only in gitian/src/secp256k1/build-aux/m4: lt~obsolete.m4
29Only in gitian/src/secp256k1/build-aux/m4: ltoptions.m4
30Only in gitian/src/secp256k1/build-aux/m4: ltsugar.m4
31Only in gitian/src/secp256k1/build-aux/m4: ltversion.m4
32Only in gitian/src/secp256k1/build-aux: missing
33Only in gitian/src/secp256k1/build-aux: test-driver
34Only in gitian/src/secp256k1: configure
35Only in gitian/src/secp256k1: Makefile.in
36Only in gitian/src/secp256k1/src: libsecp256k1-config.h.in
37Only in gitian/src/univalue: aclocal.m4
38Only in gitian/src/univalue/build-aux: compile
39Only in gitian/src/univalue/build-aux: config.guess
40Only in gitian/src/univalue/build-aux: config.sub
41Only in gitian/src/univalue/build-aux: depcomp
42Only in gitian/src/univalue/build-aux: install-sh
43Only in gitian/src/univalue/build-aux: ltmain.sh
44Only in gitian/src/univalue/build-aux/m4: libtool.m4
45Only in gitian/src/univalue/build-aux/m4: lt~obsolete.m4
46Only in gitian/src/univalue/build-aux/m4: ltoptions.m4
47Only in gitian/src/univalue/build-aux/m4: ltsugar.m4
48Only in gitian/src/univalue/build-aux/m4: ltversion.m4
49Only in gitian/src/univalue/build-aux: missing
50Only in gitian/src/univalue/build-aux: test-driver
51Only in gitian/src/univalue: configure
52Only in gitian/src/univalue: Makefile.in
53Only in gitian/src/univalue: univalue-config.h.in