Changeset 315 for tbroadcast/v2.0.3
- Timestamp:
- Nov 13, 2006, 12:17:49 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tbroadcast/v2.0.3/python/tbroadcast.py
r314 r315 495 495 def generate_make (self, file, command): 496 496 makefile = open (file, 'w+') 497 makefile.write ('MAKE= make\n')497 makefile.write ('MAKE=make\n') 498 498 #MFLAGS= -j10 499 499 self.counter = len(self.packages) … … 527 527 lines = lines + '\t@echo "#--------------------------------------------------------------"\n' 528 528 lines = lines + 'ifdef LOCATION\n' 529 lines = lines + '\t@echo "#--------------------------------------------------------------"> $(LOCATION)/'+ package +'.loglog\n' 530 lines = lines + '\t@echo "# ('+str(self.counter)+'/'+str(len(self.packages))+') Now trying ['+newcommand+'] in '+ self.packages[package]['path']+'">> $(LOCATION)/'+ package +'.loglog\n' 531 lines = lines + '\t@echo "#--------------------------------------------------------------">> $(LOCATION)/'+ package +'.loglog\n' 529 532 lines = lines + '\t+@cd ' + self.packages[package]['path'] 530 lines = lines + ' && ' + newcommand + ' > & $(LOCATION)/'+ package +'.loglog\n'533 lines = lines + ' && ' + newcommand + ' >> $(LOCATION)/'+ package +'.loglog 2>&1\n' 531 534 lines = lines + 'else\n' 532 535 lines = lines + '\t+@cd ' + self.packages[package]['path']
Note: See TracChangeset
for help on using the changeset viewer.