ehlo,
We have a very big Makefile.am
bash$ wc -l Makefile.am
2152 Makefile.am
And it will be much bigger, because there is initiative to improve code
coverage with unit tests. I have an idea to split current big makefile to
smaller ones. If we want to split Makefile it will have pros and cons.
Backporting patches to older branches can cause more conflicts, so we should
also split Makefile in 1.11 branch. Another problem can be patches on the list
will not be able to apply. On the other hand, separated makefiles will be
well-arranged and it will be easier to add specific targets to different
makefiles.
I decided to prepare some proof of concept. Attached patch moves test to
separate Makefile in subdirectories with test. 546 lines were removed from
main Makefile (size was decreased by 25%). Lot of things can be improved in
patch, but main point of this mail is. Does it worth to split makefiles?
LS
Show replies by date