Path: utzoo!attcan!uunet!tut.cis.ohio-state.edu!ucbvax!TRANSARC.COM!Craig_Everhart From: Craig_Everhart@TRANSARC.COM Newsgroups: comp.soft-sys.andrew Subject: Re: imake.tmpl question Message-ID: Date: 24 Sep 90 22:10:12 GMT References: Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 29 The EXTRASUBDIRS variable is indeed meant for directories in which some recursion, but not all recursion, is supposed to occur. That is, directories listed in EXTRASUBDIRS are supposed to have Makefile's generated for them, and are supposed to be Clean'ed, but are not supposed to be built. This is the mechanism by which, say, the overhead/pobbconf Makefile is built, so the installation of that directory then awaits the AMDS installer setting it up. Thus, adding the EXTRASUBDIRS to the rules not currently using them is asking for trouble. Every Imakefile could have an EXTRASUBDIRS variable. Defining that variable in site.mcr is really asking for trouble. That is, the way you tried setting it up, every directory that contains subdirectories would try to build Makefiles in its non-existent ``local'' and ``sda'' subdirectories. Unfortunately, the Andrew distribution doesn't have what you would really like, which would be some customer-dependent subdirectory in which local applications could be housed. You have to ask where it would go, though; perhaps after ``andrew/contrib'' could come ``andrew/site''. Maybe some Imakefile wizard would want to patch that into existence, and then never patch anything under andrew/site again (roughly the way the site.h and site.mcr files exist now). All the site-local changes could go under the andrew/site tree. How does that sound? Craig