[Bug 93] New: revision number is not updated after svn up / make distclean
| Newsgroups | gmane.comp.java.vm.sablevm.bugs |
|---|---|
| Message-ID | <[email protected]> |
http://sablevm.org/bugs/show_bug.cgi?id=93
Summary: revision number is not updated after svn up / make
distclean
Product: SableVM
Version: staging
Platform: PC
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: default
AssignedTo: [email protected]
ReportedBy: [email protected]
QAContact: [email protected]
(chris): I noticed that "make distclean" doesn't do anything to reset the
version number, so that even though I upgraded from 3291 to 3306, it still said
"staging+3291" when I did "sablevm --version".
(gadek): True. 'distclean' does not remove configure, in which the
PACKAGE_VERSION variable is set.
(chris): Maybe the list of files produced by "svn st --no-ignore" after "make
distclean" should also be included in the "make distclean". Removing them all
fixed the problem for me.
(gadek): Of course, but we cannot add such functionality to 'distclean' because:
a) we cannot rely on 'svn' being available to perform distclean
b) removing configure and all Makefile.in is beyond what 'distclean' is
supposed to do (ie. you would *have to* run autogen.sh thereafter)
I'd suggest adding a 'hardclean' (or similar) target, that would depend
on distclean, and that would also remove configure and Makefile.in's,
or maybe a 'svndistclean' that would use 'svn' command to remove all
files that are not in subversion (though it's slightly dangerous, if
ie. you have files not yet added to SVN).
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
You are the QA contact for the bug, or are watching the QA contact.