summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-10 01:51:06 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-10 01:51:06 -0400
commit6fe6882ee493dedf2eab401f3b9f738d037ce139 (patch)
tree175667c555f26956dfed32d1c06a8b975be99d83
parentc1a8c78e205cb4d51484bcc5abc8805aaf139b75 (diff)
downloadledger-6fe6882ee493dedf2eab401f3b9f738d037ce139.tar.gz
ledger-6fe6882ee493dedf2eab401f3b9f738d037ce139.tar.bz2
ledger-6fe6882ee493dedf2eab401f3b9f738d037ce139.zip
Only clean if needed, not whenever acprep changes
-rwxr-xr-xacprep3
1 files changed, 2 insertions, 1 deletions
diff --git a/acprep b/acprep
index 2d059894..536c32cc 100755
--- a/acprep
+++ b/acprep
@@ -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')