[oi-dev] Extracting archives to a source subdirectory

Sriram Narayanan sriram at belenix.org
Sat May 5 16:53:11 UTC 2012


Hi Alasdair:

Assuming a spec file based approach, wouldn't the SOURCES folder
already take care of this ?

-- Sriram

On Sat, May 5, 2012 at 10:17 PM, Alasdair Lumsden <alasdair at lumsden.biz> wrote:
> Hi All,
>
> Another improvement we integrated into s10-userland was to extract component tarballs into a subdirectory of the component directory. We used:
>
> $(COMPONENT_DIR)/source
>
> We did this primarily so it could be added to .hgignore, as "hg status" on a tree with all the components downloaded, extracted and built would take a very, very long time as hg traverses all the extracted directories. It's also a bit tidier.
>
> It was fairly easy to do this:
>
> SOURCE_DIR =    $(COMPONENT_DIR)/$(COMPONENT_SRC)
> ->
> SOURCE_DIR =    $(COMPONENT_DIR)/source/$(COMPONENT_SRC)
>
> Cheers,
>
> Alasdair
>
>
> _______________________________________________
> oi-dev mailing list
> oi-dev at openindiana.org
> http://openindiana.org/mailman/listinfo/oi-dev



-- 
Belenix: www.belenix.org




More information about the oi-dev mailing list