changed egg-optchar to specify input egg files as coming from a text file, rather than on the command line. useful for rediculously long lists of files to operate on

This commit is contained in:
Chris Brunner 2010-01-20 01:33:30 +00:00
parent 5596629520
commit f12b3b3ab3
1 changed files with 14 additions and 1 deletions

View File

@ -527,7 +527,20 @@ $[TAB]$[TOUCH_CMD] $[TARGET_DIR]/$[egg]
// And this is the actual optchar pass.
$[target] : $[sources] $[TARGET_DIR]/stamp
$[TAB]egg-optchar $[OPTCHAR_OPTS] -d $[TARGET_DIR] $[sources]
////////////////////////////////
//$[TAB]egg-optchar $[OPTCHAR_OPTS] -d $[TARGET_DIR] $[sources]
///// Handles very long lists of egg files by echoing them //////
///// out to a file then having egg-optchar read in the //////
///// list from that file. Comment out four lines below //////
///// and uncomment line above to revert to the old way. //////
#define sources_file eoc.tmp
$[TAB]echo -n $[sources] > $[sources_file]
$[TAB]egg-optchar $[OPTCHAR_OPTS] -d $[TARGET_DIR] -inf $[sources_file]
$[TAB]$[DEL_CMD] eoc.tmp
////////////////////////////////
#endif
#end optchar_egg