On 09/27/11 02:22, Vladimir Marek wrote:
>>> Any idea if file can change between 'proto' area and the result in pkg
>>
>> What kind of file?
> 
> It was general question - any file.
> 
>>> repository made by 'gmake publish'? Or is it 100% sure that gmake
>>> publish does not make any change to the files, just copies them to the
>>> repository?
>>
>> the best starting point is: tools/userland-mangler than look on all
>> of the imported mangler-files. To check which files are "filtered"
>> also for its contents.
> 
> I see, thank you for the pointer!
> 

To get back to the original question, you can use the various timestamp
files as make targets to stop after intermediate points in the publish
process. For instance, the mangled timestamp is defined as:

$(MANIFEST_BASE)-%.mangled

The MANIFEST_BASE is:
$(BUILD_DIR)/manifest-$(MACH)

BUILD_DIR is just the build directory and MACH is i386 or sparc. The "%"
above is the name of the component. So to get the post mogrified and
mangled results for the ntp component on sparc, you would go to the ntp
directory and do:

gmake build/manifest-sparc-ntp.mangled

If this is something that we are going to do fairly often, we should
probably create generic targets for them to make life easier.

-- 
blu

Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live. - Martin Golding
-----------------------------------------------------------------------|
Brian Utterback - Solaris RPE, Oracle Corporation.
Ph:603-262-3916, Em:[email protected]
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss

Reply via email to