This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [rfc] Move Makefile.in:VERSION to VERSION file
- To: Andrew Cagney <ac131313 at cygnus dot com>
- Subject: Re: [rfc] Move Makefile.in:VERSION to VERSION file
- From: Andrew Cagney <ac131313 at cygnus dot com>
- Date: Thu, 10 May 2001 21:26:33 -0400
- Cc: GDB Patches <gdb-patches at sourceware dot cygnus dot com>
- References: <3AB3CB1D.85E1E043@cygnus.com> <3AFB1C97.30009@cygnus.com>
> 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