Eric Boutilier wrote:
> On Tue, 20 Jun 2006, Mike Sullivan wrote:
>> ...
>> The bit I would like automated is the
>> population of the source areas (the DISTDIRS.sfw file and friends).
> 
> Being a CCD beginner, I was told I could use the makedist script in the
> tools directory to automatically generate those files. I don't know where
> it came from or how official it is though...

I don't know either and it's not in the last teamware CCD workspace
I know of so perhaps it's very recent. But I was more hoping that the
variables themselves would be set without you having to run anything
(basically, tell the Makefiles what your tar file is named and it all
just happens automatically).

Like
        DISTFILES=`gzip -dc <tarfile>.gz | tar tf -....`
or
        DISTFILES=`find <extractedtardir> -type f ...`

but with propper commands and Makefile syntax :)

the tar extraction takes more time but works without a clobber build,
while looking at the extracted source directory is faster yet will
not work properly on incremental builds (adding objects and binaries
and such that shouldn't go in the source package). Now I'm remembering
why I didn't automate it at the time :)

makedist is _more_ automated but not as automated as I was hoping.

        Mike

Reply via email to