Bug 1781

Summary: Add contents of version.in to frysk.Config
Product: frysk Reporter: Andrew Cagney <cagney>
Component: generalAssignee: Andrew Cagney <cagney>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P1    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 2235    

Description Andrew Cagney 2005-11-02 14:54:43 UTC
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
Comment 1 Andrew Cagney 2005-11-22 16:21:44 UTC
==> 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.
Comment 2 Andrew Cagney 2005-11-22 16:28:41 UTC
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@.