Frysk should be self-aware of its version. version.in currently lives in the top-level where it can't be seen by each of the sub-directories. One possible solution is to: - move it to common/version.in? - add common/ to the top-level directory check-out? - mod the build scripts to embed that into frysk/Config.javain - remember to update the version.in cronjob
==> ChangeLog <== 2005-11-22 Andrew Cagney <cagney@redhat.com> * configure.ac: Move version.in logic to common/version.ac, include. * version.in: Delete, moved to common/ * configure.ac (FRYSK_VERSION_IN, FRYSK_VERSION): Define, get the version from common/version.in. 2005-10-31 Andrew Cagney <cagney@redhat.com> ==> common/ChangeLog <== 2005-11-22 Andrew Cagney <cagney@redhat.com> * version.ac: New file. Move version.in logic to here. * version.in: New file, moved from top-level. Index: frysk-core/ChangeLog 2005-11-22 Andrew Cagney <cagney@redhat.com> * configure.ac: Include common/version.ac. Update AC_INIT to frysk-core FRYSK_VERSION. Index: frysk-gui/ChangeLog 2005-11-22 Andrew Cagney <cagney@redhat.com> * configure.ac: Include common/version.ac. Update AC_INIT to frysk-gui FRYSK_VERSION. Index: frysk-imports/ChangeLog 2005-11-22 Andrew Cagney <cagney@redhat.com> * configure.ac: Include common/version.ac. Update AC_INIT to frysk-imports FRYSK_VERSION. Index: frysk-sys/ChangeLog 2005-11-22 Andrew Cagney <cagney@redhat.com> * configure.ac: Include common/version.ac. Update AC_INIT to frysk-sys FRYSK_VERSION.
Index: frysk-imports/common/ChangeLog 2005-11-22 Andrew Cagney <cagney@redhat.com> * Makefile.rules (.javain.java): Set VERSION. Index: frysk-imports/frysk/ChangeLog 2005-11-22 Andrew Cagney <cagney@redhat.com> * Config.javain: Add .VERSION, set to @VERSION@.