X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/e0233d70fb7bfac996b3514ae60d7eedef0e6ad3..f88898638f4f0f8f6d77b1235b704982d295b832:/docs/README.developers?ds=sidebyside diff --git a/docs/README.developers b/docs/README.developers index 9314563c..9edd701e 100644 --- a/docs/README.developers +++ b/docs/README.developers @@ -41,12 +41,23 @@ end-users who don't have any interest in changing the configure-related files and don't have autoconf installed. They'll be unable to make without playing around with `touch'. -The correct order to commit the configure-related files is: - -% cvs commit acconfig.h aclocal.m4 config.h.in configure.in configure stamp-h.in - -If you haven't changed all of those files, just commit the rest in the -stated order (e.g. cvs commit acconfig.h config.h.in stamp-h.in). +The correct procedure to commit the configure-related files is: + + % cvs commit acconfig.h aclocal.m4 configure.in + % autoheader; autoconf; date > stamp-h.in + % cvs commit config.h.in configure stamp-h.in + +The reason for the three-step commit is that configure.in contains the RCS $Id +keyword, so when you commit it, a new version is written locally. Therefore, +the autoconf regeneration should be held off until after the commit, or your +local stamp-h.in will become out-of-sync with the CVS version (granted, not that +big a deal). For the second step, you're doing the same commands as a +`make reset' would do, but using that command would require extra configure runs +to make Makefile be up-to-date. + +If you haven't changed all the files noted above, just commit the ones you have +changed, in the stated order (for instance, configure.in, then configure and +stamp-h.in). -------------------