>>>>> "Mike" == Mike Kupfer <[EMAIL PROTECTED]> writes:

>>>>> "meem" == Peter Memishian <[EMAIL PROTECTED]> writes:

meem> * General: THIRDPARTYLICENSE files should be generated as part
meem> of `all' rather than `install', since the custom is for `all' to
meem> build all of the derived objects, and `install' to install
meem> whatever ones need to be packaged.

Mike> Will fix.

This turns out to be a bit messy for source trees with subdirectories.
nightly(1) doesn't do a "make all" and then "make install", it just does
a "make install".  So if I set up the makefile like

    all: THIRDPARTYLICENSE $(SUBDIRS)

    install: all $(SUBDIRS)

I'm not sure it's defined as to whether the SUBDIRS targets will get
invoked with TARGET=all or TARGET=install.  (The behavior is
TARGET=install, but I can't tell from the man page whether this is
deliberate or an accident of the implementation.)

I could do

    all: THIRDPARTYLICENSE

    install: all $(SUBDIRS)

but then "make all" will build *only* THIRDPARTYLICENSE and nothing
else, which is broken.

So I think what I want to do is

    all install: THIRDPARTYLICENSE $(SUBDIRS)

Any objections?

thanks,
mike
_______________________________________________
tools-discuss mailing list
tools-discuss@opensolaris.org

Reply via email to