diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-10-26 08:07:52 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-10-26 08:07:52 -0400 |
commit | 77ee0de5b1545cbafd4bc18616183807237dcf13 (patch) | |
tree | 2d192b8ff326a37b8c5b800d7f49e87c27402e9b /SConstruct | |
parent | 5e778dfe4084795b089d5d5e984d32eea86b3e03 (diff) | |
download | gpsd-77ee0de5b1545cbafd4bc18616183807237dcf13.tar.gz |
Finally I think we can get rid of the expliccit "rm -f revision.h".
Diffstat (limited to 'SConstruct')
-rw-r--r-- | SConstruct | 11 |
1 files changed, 6 insertions, 5 deletions
@@ -1531,13 +1531,14 @@ if os.path.exists("gpsd.c") and os.path.exists(".gitignore"): 'git tag -s -m "Tagged for external release ${VERSION}" release-${VERSION}' ]) - # Local release preparation. Run it after removing revision.h. - # This production will require Internet access. + # Local release preparation. This production will require Internet access, + # but it doesn't do any uploads or public repo mods. # - # Note that tag_release has to fire early, otherwise the value of - # REVISION in revision.h won't be right. + # Note that tag_release has to fire early, otherwise the value of REVISION + # won't be right when revision.h is generated for the tarball. releaseprep = env.Alias("releaseprep", - [leapseconds_cache, + [Utility("distclean", [], ["rm -f revision.h"]), + leapseconds_cache, tag_release, tarball]) # Undo local release preparation |