make & SCCS evilness
Brendan Heading <[email protected]>
| Newsgroups | gmane.comp.version-control.bitkeeper.user |
|---|---|
| Message-ID | <[email protected]> |
Hi all, I'm new to Bitkeeper, coming from a mostly Clearcase on UNIX-ish background I'm having no problems working away with repositories. The trouble with Clearcase is that it makes people lazy when it comes to builds :) Specifically, I'm trying to figure out how to build files with nested dependencies, without having to check out the whole repository or set it up in "bk get" mode. I also want to avoid modifying the makefile so that it does not need to know magic about the files that need to be checked out to perform the build. Am I trying to have my cake and eat it ? Say you have three files in a repository which are checked in and not visible in the directory (ie a bk get has not been done) : main.c, foo.h and bar.h; main.c includes foo.h, foo.h in turn includes bar.h. If I run gcc -M on main.c, it will correctly find foo.h. But because gcc isn't aware of SCCS, it will parse foo.h and give an error as it can't find bar.h. I guess what's required is a clever "makedepend" tool which both does the gcc -M parsing as well as knowing to look for SCCS/s.* whenever it is trying to resolve out a file. Do such things exist ? Regards Brendan -- Brendan Heading, Belfast, Northern Ireland _______________________________________________ Bitkeeper-users mailing list [email protected] http://bitmover.com/mailman/listinfo/bitkeeper-users To unsubscribe from this list, go to the above URL, follow instruction at the bottom of the web page.