Bug 1781 - Add contents of version.in to frysk.Config
Summary: Add contents of version.in to frysk.Config
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P1 normal
Target Milestone: ---
Assignee: Andrew Cagney
URL:
Keywords:
Depends on:
Blocks: 2235
  Show dependency treegraph
 
Reported: 2005-11-02 14:54 UTC by Andrew Cagney
Modified: 2006-01-31 16:02 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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@.