Commit Graph

9 Commits (9cab9361868eeb95b95d5d3e7960443d91284189)

Author SHA1 Message Date
dbrownell b1f7b35983 Change version labels to work better with GIT
- The guess-rev.sh script is now a tweaked version of "setlocalversion" as
   seen in Linux, U-Boot, and various other projects.  When it finds source
   control support (git, hg, svn) it uses IDs from there.  Else (specific
   to this project) it reports itself as "-snapshot", e.g. from gitweb.

   I verified this new "guess-rev.sh" script runs under Cygwin.

 - Also update the generic version strings to be like "0.3.0-dev" (during
   development) instead of the very long "0.3.0-in-development".  These also
   show up in the PDF docs.  For better tracking, we might eventually change
   these strings to include the version IDs too.

 - Change the startup banner version strings so they include the guess-rev
   output.  Development and release versions with GIT will be like

    Open On-Chip Debugger 0.3.0-dev-00282-g7191a4f-dirty (2009-10-05-20:57) 
    Open On-Chip Debugger 0.3.0 (2009-10-05-20:57) 

   instead of the previous SVN-specific (even when using git-svn!)

    Open On-Chip Debugger 0.3.0-in-development (2009-10-05-01:39) svn:exported
    Open On-Chip Debugger 0.3.0 (2009-10-05-01:39) Release



git-svn-id: svn://svn.berlios.de/openocd/trunk@2809 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-10-07 05:43:05 +00:00
ntfreak ca8c6cf430 - guess-rev.sh now works as expected when build_dir is not the same as src_dir
git-svn-id: svn://svn.berlios.de/openocd/trunk@1372 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-02-13 09:56:51 +00:00
ntfreak ae76a671b5 - revert guess-rev.sh to using bash
- remove generated files from svn

git-svn-id: svn://svn.berlios.de/openocd/trunk@1340 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-19 09:41:59 +00:00
kc8apf ded2e16b35 Fix guess-rev.sh where the builtin echo doesn't support -n
git-svn-id: svn://svn.berlios.de/openocd/trunk@1337 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-17 23:16:59 +00:00
ntfreak 855a64d3ae - make guess-rev.sh work with msys
git-svn-id: svn://svn.berlios.de/openocd/trunk@1333 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2009-01-16 13:28:32 +00:00
oharboe 54196f7673 Pavel Chromy fix: the guess-rev.sh scripts to retrieve SVN revision returns the result including new line
causing PKGBLDREV macro to not work

git-svn-id: svn://svn.berlios.de/openocd/trunk@398 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-02-29 13:03:37 +00:00
bodylove 04c9ae76a7 - Synced code with branch
git-svn-id: svn://svn.berlios.de/openocd/trunk@270 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-21 19:45:28 +00:00
bodylove db3d66f951 - Eleminated leading tabs/white space
git-svn-id: svn://svn.berlios.de/openocd/trunk@268 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2008-01-21 19:34:45 +00:00
bodylove 78d58dd16a Changed openocd version info creation to be more useful.
- Now displays subversion revision and svn URL

  
  

git-svn-id: svn://svn.berlios.de/openocd/trunk@220 b42882b7-edfa-0310-969c-e2dbd0fdcd60
2007-12-10 16:55:14 +00:00