Re: [rfc] Move Makefile.in:VERSION to VERSION file

Andrew Cagney
2001-05-10T18:26:00Z

> FYI, I'm about to check in the below but with s/VERSION/version/ for the file.
>
> Anyone like to come up with a 5 line /bin/sh script that updates this file using CVS. It would need to remember to use date -u and should probably check that it hasn't already been run today (1). The path to the CVS repository and the path to the file would be arguments.
>
>
> Andrew
>
> (1) Due to the timezone scrample and the possibility of the CVS server going down, I'm thinking of cheating and running the cronjob twice (if not more :-)
>
> 2001-03-17 Andrew Cagney <ac131313@redhat.com>
>
> * Makefile.in (VERSION): Delete. Moved to file VERSION.
> (version.c): Depends on file VERSION. Extract version number from
> VERSION file.
> * VERSION: New file.
Not quite.

If the file is called ``version'' then make gets to smart for its self
and thinks it knows how to build ``version'' from ``version.c'' ...

I'm now trying version.in.

Andrew