]> git.ipfire.org Git - thirdparty/json-c.git/commit
Fix 'make dist'
authorLászló Várady <laszlo.varady@balabit.com>
Fri, 4 Aug 2017 09:59:14 +0000 (11:59 +0200)
committerLászló Várady <laszlo.varady@balabit.com>
Fri, 4 Aug 2017 10:31:06 +0000 (12:31 +0200)
commitdb8dbbf3719bd479adc12481dc540b88be9e6255
tree3ce078303e94d7b15a9452197a2d9ad85392bb97
parentaf879445852f7ff23118138f6c51e71fd4619798
Fix 'make dist'

EXTRA_DIST copies the listed directories/files from the _source_ directory
into the distribution.

Since the doc directory does not exist after running autogen + configure
+ make dist, the distribution tarball generation fails.

Note that the dist-hook rule below operates on 'distdir', not on the source
directory where EXTRA_DIST expects the existence of the doc folder.

In summary, even if I removed 'doc' from EXTRA_DIST, the dist tarball will
always contain the documentation (due to the dist-hook rule).

Signed-off-by: László Várady <laszlo.varady@balabit.com>
Makefile.am