Summary: | ASTERISK-11098: version.h does not get updated with incremental builds | ||
Reporter: | Tony Plack (plack) | Labels: | |
Date Opened: | 2007-12-21 17:18:18.000-0600 | Date Closed: | 2007-12-26 11:04:30.000-0600 |
Priority: | Trivial | Regression? | No |
Status: | Closed/Complete | Components: | General |
Versions: | Frequency of Occurrence | ||
Related Issues: | |||
Environment: | Attachments: | ||
Description: | If a SVN update occurs, and the user does not do a make clean, the system does not regenerate version.h ****** ADDITIONAL INFORMATION ****** Not sure if this is desirable or not, it does impact the version the application reports, and it should be noted that make clean is a good step, but sometimes overlooked when working on changes which are incremental. | ||
Comments: | By: Joshua C. Colp (jcolp) 2007-12-21 17:19:20.000-0600 make update clears the version.h so that it gets regenerated, are you just doing an svn update or make update? By: Digium Subversion (svnbot) 2007-12-26 10:56:39.000-0600 Repository: asterisk Revision: 94789 U branches/1.4/Makefile ------------------------------------------------------------------------ r94789 | russell | 2007-12-26 10:56:38 -0600 (Wed, 26 Dec 2007) | 5 lines List include/asterisk/version.h as a .PHONY target because we want the commands listed for this target to be executed regardless of whether the file exists or not. This fixes having the version not up to date when running from svn. (closes issue ASTERISK-11098, reported by plack, fixed by me) ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=94789 By: Digium Subversion (svnbot) 2007-12-26 11:04:30.000-0600 Repository: asterisk Revision: 94792 _U trunk/ U trunk/Makefile ------------------------------------------------------------------------ r94792 | russell | 2007-12-26 11:04:30 -0600 (Wed, 26 Dec 2007) | 13 lines Merged revisions 94789 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r94789 | russell | 2007-12-26 11:00:03 -0600 (Wed, 26 Dec 2007) | 5 lines List include/asterisk/version.h as a .PHONY target because we want the commands listed for this target to be executed regardless of whether the file exists or not. This fixes having the version not up to date when running from svn. (closes issue ASTERISK-11098, reported by plack, fixed by me) ........ ------------------------------------------------------------------------ http://svn.digium.com/view/asterisk?view=rev&revision=94792 |