bug-hello
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

possible bug: "make dist" does not create ".tarball-version"


From: Assaf Gordon
Subject: possible bug: "make dist" does not create ".tarball-version"
Date: Wed, 19 Mar 2014 18:53:02 -0400
User-agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.2.0

Hello,

I think this is a bug, but perhaps it's intentional (as a deprecated feature) ?

It seems like "make dist" does not create the file ".tarball-version", which results in 
"./build-aux/git-version-gen" returning UNKNOWN if used in a directory from a tarball (as opposed 
to a directory from a git clone).

This doesn't effect the common use case of "./configure && make", because the version 
string is hard-coded in "configure" .
But if some other script uses "./build-aux/git-version-gen", the returned value 
is UNKNOWN.

The solution, I believe, is either:

1. stop using ".tarball-version" (it is only mentioned in "configure.ac" and 
"GNUmakefile", both cases it is only read, not written).

Or,

2. generate ".tarball-version" (just like "coreutils" does), by adding this line to 
"Makefile.am":
====
dist-hook: gen-ChangeLog
        $(AM_V_GEN)echo $(VERSION) > $(distdir)/.tarball-version
====

Regards,
 -gordon





reply via email to

[Prev in Thread] Current Thread [Next in Thread]