]> granicus.if.org Git - procps-ng/commitdiff
build-sys: include .version in EXTRA_DIST
authorCraig Small <csmall@enc.com.au>
Sun, 9 Aug 2015 06:27:37 +0000 (16:27 +1000)
committerCraig Small <csmall@enc.com.au>
Sun, 9 Aug 2015 06:27:37 +0000 (16:27 +1000)
.version is created in the top_srdir which when building normally
doesn't present a problem. When make distcheck is run, the source
directory is made read-only and it fails with permission denied.

The version of misc/git-version-gen is old and is missing the
instruction to add .version to EXTRA_DIST. This commit does just
that.

make distcheck now passes.

References:
 https://github.com/gagern/gnulib/blob/master/build-aux/git-version-gen
 https://lists.gnu.org/archive/html/bug-gnulib/2011-08/msg00000.html

Signed-off-by: Craig Small <csmall@enc.com.au>
Makefile.am

index ba74103e51a8276fc56df4b12777baaff3b6e0ea..aca94b909ace9681a99c350a25013e5961231d36 100644 (file)
@@ -51,6 +51,7 @@ dist_man_MANS = \
        ps/ps.1
 
 EXTRA_DIST = \
+       .version \
        autogen.sh \
        contrib \
        COPYING.LIB \