On Mon, Mar 14, 2005 at 09:46:13PM -0600, fretfind@...540... wrote:
I compiled CVS successfully a while back and was very excited. So today I tried:
cvs -z3 update -Pd make
and got:
Making all in ui make[3]: Entering directory `/usr/local/src/inkscape/share/ui' make[3]: *** No rule to make target `all'. Stop. make[3]: Leaving directory `/usr/local/src/inkscape/share/ui' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/local/src/inkscape/share' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/local/src/inkscape' make: *** [all] Error 2
If I were to take a stab in the dark I would guess my makefile is too old and it doesn't include rules for the new ui stuff. I could be very wrong, but this makes me wonder when and how often should I use commands like "make clean", autogen.sh and configure when working with Inkscape CVS. I don't think I saw these sorts of instructions in the wiki. (I do think I read a short blurb about using autogen.sh when new folders enter the tree.) Sorry for such rudimentary questions.
It's a good question, and you're essentially correct. I probably should have mentioned this earlier, since this is caused by my doing.
The cause for this particular issue is the integration of the inkscape_gtkmm code, which involves creating some new subdirectories and some new Makefile_insert's.
When new subdirs are added, you have to refresh the Makefile structure. This requires running autogen.sh and configure. Technically, you don't need to do `make clean`, and in fact it will probably rebuild faster if you don't.
Now, the more important question - how often will you have to do this? Generally, you can expect to need to do this more frequently early on in the development cycle for a given release such as right now; later on in development we shift focus towards getting things polished and finished, and don't need to add directories as often.
Historically, Inkscape has not added new subdirs very often, so in general you shouldn't need to do it very often. Most code has been contained all in the top level directory. However, I think as we move forward, we may be breaking things up into subdirs more aggressively. Having all the code in a single dir gets to be a bit hard to comprehend, and hard for new people to get into. So I'm actually hopeful we'll see increased instances of new subdirs added.
Hope this answers the question, and I apologize for any extra work caused by the inkscape_gtkmm integration.
Bryce