Changeset 312 for tbroadcast/v2.0.3/python
- Timestamp:
- Nov 12, 2006, 2:01:51 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tbroadcast/v2.0.3/python/tbroadcast.py
r311 r312 495 495 def generate_make (self, file, command): 496 496 makefile = open (file, 'w+') 497 makefile.write ('MAKE= make \n') 498 #MFLAGS= -j10 497 499 self.counter = len(self.packages) 498 500 self.recursive_make (self.current_package, command, makefile, len(self.packages)) … … 519 521 newcommand = string.replace (command, '<package>', package) 520 522 if command =='': 521 newcommand='$( COMMAND)'523 newcommand='$(MAKE)' 522 524 lines = lines + '\n' 523 525 lines = lines + '\t@echo "#--------------------------------------------------------------"\n' … … 525 527 lines = lines + '\t@echo "#--------------------------------------------------------------"\n' 526 528 lines = lines + '\t+@cd ' + self.packages[package]['path'] 527 lines = lines + ' ;' + newcommand529 lines = lines + ' &&' + newcommand 528 530 lines = lines + '\n\n' 529 531 return lines
Note: See TracChangeset
for help on using the changeset viewer.