[PATCH] Generate/update a version.h header file.

Jef Driesen jefdriesen at telenet.be
Tue Feb 26 12:27:34 PST 2013


On 26-02-13 21:13, Dirk Hohndel wrote:
> Salvador Cuñat <salvador.cunat at gmail.com> writes:
>
>> On Tue, Feb 26, 2013 at 11:00:36AM -0800, Dirk Hohndel wrote:
>>> Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com> writes:
>>>
>>>>> /bin/sh: version.h: No such file or directory
>>>>> updating version.h to 3.0-65-g1908caa95cef
>>>>>
>>>>> That should be caught, I guess.
>>>>
>>
>> Hmmmmmm.  When compiling got similar messages, but ... nothing happens.
>> Then
>>
>> boret at imladris:~/subsurface$ make
>> make: No se hace nada para `gen_version_file'.
>>
>> and thats all.
>>
>> But make install works fine.
>
> So does
>
> make subsurface
>
> But everyone (including me) is just used to typing
>
> make
>
> and I really want THAT to work

The first target is automatically the default target (e.g. the one build by just 
running "make"). So just move the $(NAME) target again to the top, and it should 
work again.

Jef


More information about the subsurface mailing list