[ros-dev] makefile naming conventions ( particularly re xml build system )...

Royce Mitchell III royce3 at ev1.net
Fri Mar 11 01:07:15 CET 2005


Someone mentioned recently that we should name all the xml build system 
files makefile.rbuild, or something to that effect.

I didn't have an opinion at the time, but I have recently developed a 
very strong one...

If all the build system's files are named the same, and if you have 3 of 
them open in notepad, you can't tell which is which from the window's 
title. This is IMNSHO a bad thing.

Furthermore, in order to be able to invoke make from any directory, 
instead of just the top-level one, I need to put a "makefile" ( I'm 
forced to have same name here ) in each directory that punts to the 
top-level one. Therefore, some of the bootstrap makefiles will need to 
be renamed out of the way.

My plan is to name the bootstrap makefiles thus:

tools/tools.mak
tools/unicode/unicode.mak
...you get the idea...

If we want to rename all the xml files to *.rbuild, that's fine, but I 
think making them all "makefile.rbuild" is baaaaad.

Peace




More information about the Ros-dev mailing list