[yast-devel] y2makeall --clean
Hi! I've added a new option to y2makeall script to invoke 'make clean' before building. This is quite helpful if you did not recompile whole subversion for quite some time. Usage: 'y2tool y2makeall --clean' Patch for trunk yast2-devtools attached. Please, review and commit if useful. Stano
On Donnerstag, 4. September 2008, Stanislav Visnovsky wrote:
I've added a new option to y2makeall script to invoke 'make clean' before building. This is quite helpful if you did not recompile whole subversion for quite some time.
Usage: 'y2tool y2makeall --clean'
Patch for trunk yast2-devtools attached. Please, review and commit if useful.
Hm - I just thought y2tool y2makeall clean does just the same thing, but not quite: This would go through all directories once and do "make -f Makefile.cvs && make clean". You would then call y2tool y2makeall --fast and go through all directories once more to actually build and install (--fast to save one more "make -f Makefile.cvs" everywhere, which does "autoreconf" and "configure"). This new "y2makeall --clean" goes through all directories once, does "make -f Makefile.cvs && make clean && make && sudo make install", right? CU -- Stefan Hundhammer <sh@suse.de> Penguin by conviction. YaST2 Development SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Nürnberg, Germany -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
Dňa Thursday 04 September 2008 12:44:09 Stefan Hundhammer ste napísal:
On Donnerstag, 4. September 2008, Stanislav Visnovsky wrote:
I've added a new option to y2makeall script to invoke 'make clean' before building. This is quite helpful if you did not recompile whole subversion for quite some time.
Usage: 'y2tool y2makeall --clean'
Patch for trunk yast2-devtools attached. Please, review and commit if useful.
Hm - I just thought
y2tool y2makeall clean
does just the same thing, but not quite: This would go through all directories once and do "make -f Makefile.cvs && make clean". You would then call
y2tool y2makeall --fast
and go through all directories once more to actually build and install (--fast to save one more "make -f Makefile.cvs" everywhere, which does "autoreconf" and "configure").
This new "y2makeall --clean" goes through all directories once, does "make -f Makefile.cvs && make clean && make && sudo make install", right?
Yes. That's the difference. OTOH your steps might result in the same, so it might be useless. For me, it was just convenience after I've discovered that some YaST modules do not build because of leftover debris. Stano -- To unsubscribe, e-mail: yast-devel+unsubscribe@opensuse.org For additional commands, e-mail: yast-devel+help@opensuse.org
participants (2)
-
Stanislav Visnovsky
-
Stefan Hundhammer