[asterisk-bugs] [Asterisk 0015370]: [patch] Repeatedly building the asterisk directory repeatedly downloads the sounds files

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jul 21 17:34:48 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15370 
====================================================================== 
Reported By:                pprindeville
Assigned To:                tilghman
====================================================================== 
Project:                    Asterisk
Issue ID:                   15370
Category:                   Core/BuildSystem
Reproducibility:            always
Severity:                   tweak
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.25.1 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-06-22 00:18 CDT
Last Modified:              2009-07-21 17:34 CDT
====================================================================== 
Summary:                    [patch] Repeatedly building the asterisk directory
repeatedly downloads the sounds files
Description: 
If you have a source tree, and repeatedly do "make ; make dist-clean" ...
(lather, rinse, repeat) for multiple platforms, then you end up fetching
the sounds files over and over again.

This fix allows one to cache the files outside of the source tree by
setting the variable "SOUNDS_CACHE_DIR" to some path outside the tree.

Subsequent builds will copy the file from there when rebuilding.

====================================================================== 

---------------------------------------------------------------------- 
 (0108056) tilghman (administrator) - 2009-07-21 17:34
 https://issues.asterisk.org/view.php?id=15370#c108056 
---------------------------------------------------------------------- 
Should the definition for SOUNDS_CACHE_DIR be a "?=" define, instead, since
the sounds directory is invoked from another Makefile?  It would be logical
to be able to pass the directory name on the command line (or via an
include) rather than requiring the variable to be set in the sounds
Makefile itself.  Also, would it make sense to allow that directory name to
be set from the configure script itself?

Additionally, in the macro definitions, I'd prefer that "sound" and
"download" be spelled out. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-07-21 17:34 tilghman       Note Added: 0108056                          
======================================================================




More information about the asterisk-bugs mailing list