From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cagney To: Andrew Cagney Cc: GDB Patches Subject: Re: [rfc] Move Makefile.in:VERSION to VERSION file Date: Thu, 10 May 2001 18:26:00 -0000 Message-id: <3AFB3FC9.4030403@cygnus.com> References: <3AB3CB1D.85E1E043@cygnus.com> <3AFB1C97.30009@cygnus.com> X-SW-Source: 2001-05/msg00195.html > 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 > > * 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