diff options
author | John Wiegley <johnw@newartisans.com> | 2009-03-10 01:51:06 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2009-03-10 01:51:06 -0400 |
commit | 6fe6882ee493dedf2eab401f3b9f738d037ce139 (patch) | |
tree | 175667c555f26956dfed32d1c06a8b975be99d83 | |
parent | c1a8c78e205cb4d51484bcc5abc8805aaf139b75 (diff) | |
download | ledger-6fe6882ee493dedf2eab401f3b9f738d037ce139.tar.gz ledger-6fe6882ee493dedf2eab401f3b9f738d037ce139.tar.bz2 ledger-6fe6882ee493dedf2eab401f3b9f738d037ce139.zip |
Only clean if needed, not whenever acprep changes
-rwxr-xr-x | acprep | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -373,8 +373,10 @@ class PrepareBuild(CommandLineApp): if self.force: return 'because it was forced' elif self.isnewer('acprep', 'configure'): + self.should_clean = True return 'because acprep is newer than configure' elif self.isnewer('acprep', 'Makefile.in'): + self.should_clean = True return 'because acprep is newer than Makefile.in' elif self.isnewer('configure.ac', 'configure'): return 'because confgure.ac is newer than configure' @@ -470,7 +472,6 @@ class PrepareBuild(CommandLineApp): self.phase_autogen() self.phase_gettext() self.phase_aclocal() - self.should_clean = True else: self.log.debug('autogen.sh does not need to be run') |