Hi guys,
Today i was trying to modify the port /usr/ports/editors/texmacs
It is the first time i do such thing and I guess I am missing the master way.
I need to do a slight modification to the C++ code, but since I am hunting
for a bug I need to do many trials, modfiy, compile and run many times.
The best way i found is this:
It goes without saying that this is BAD, for each tiny modification i must recompile
all TeXmacs which quite long and boring.
Is there a better option ?
bye
Nicola
Today i was trying to modify the port /usr/ports/editors/texmacs
It is the first time i do such thing and I guess I am missing the master way.
I need to do a slight modification to the C++ code, but since I am hunting
for a bug I need to do many trials, modfiy, compile and run many times.
The best way i found is this:
Code:
while (true) {
$> sudo make patch
==> my C modifications ====
$> sudo make build
==> check if the bug is gone, since i am here it is not, so
$> sudo make clean
}
It goes without saying that this is BAD, for each tiny modification i must recompile
all TeXmacs which quite long and boring.
Is there a better option ?
bye
Nicola