"Mark D. Baushke" wrote: > > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA1 > > Ivan Ivanov <[EMAIL PROTECTED]> writes: > > > I am using quite successfully CVS Keywords and the > > keyword expansion format and I have some minor > > questions on these useul feature: <SNIP> > > Touch is not the exact word, because we do not > > want to change the last commit date, we simply > > wants when we create distibution $Date$ be > > expanded to the current date. Any ideas? > > It would appear that you want a program of some > sort (possibly a perl script) to be run on your > sources sometime after you do a checkout. > > -- Mark If it is C or C++ code (and using the gnu compiler, not sure they are standard C) the following line might do what he wants. fprintf(stderr, "\n \t compiled %s %s\n", __DATE__ , __TIME__ );
-- Todd Denniston Crane Division, Naval Surface Warfare Center (NSWC Crane) Harnessing the Power of Technology for the Warfighter _______________________________________________ Info-cvs mailing list [EMAIL PROTECTED] http://lists.gnu.org/mailman/listinfo/info-cvs
