Re: [Crystal-cvs] SF.net SVN: crystal:[39243] CSlibs/trunk/mk/jam/filelist.jam

Eric Sunshine <[email protected]>
Newsgroups gmane.comp.graphics.crystalspace.devel
Message-ID <CAPig+cR2iPt3ypA-B7hB2s_8_T0z4867jkEm+D6KSFXpnv9N5g@mail.gmail.com>
Did you want instead to make this change to CS/mk/jam/filelist.jam
rather than CSlibs/mk/jam/filelist.jam so that the change is not
overwritten the next time you copy the Jam files from CS to CSlibs?

-- ES

On Sat, Mar 23, 2013 at 9:27 AM,  <[email protected]> wrote:
> Revision: 39243
>           http://sourceforge.net/p/crystal/code/39243
> Author:   res2002
> Date:     2013-03-23 13:27:50 +0000 (Sat, 23 Mar 2013)
> Log Message:
> -----------
> File lists facility: track all created lists
>
> Modified Paths:
> --------------
>     CSlibs/trunk/mk/jam/filelist.jam
>
> Modified: CSlibs/trunk/mk/jam/filelist.jam
> ===================================================================
> --- CSlibs/trunk/mk/jam/filelist.jam    2013-03-23 04:15:45 UTC (rev 39242)
> +++ CSlibs/trunk/mk/jam/filelist.jam    2013-03-23 13:27:50 UTC (rev 39243)
> @@ -18,6 +18,8 @@
>  #
>  #============================================================================
>
> +ALL_LISTS = ;
> +
>  ##  ListFile list
>  ##    Returns the output file name for a certain file list.
>  rule ListFile
> @@ -59,16 +61,23 @@
>  ##    list targets.
>  rule DoFileListEntry
>  {
> -    local target destdir srcdir listfile ;
> +    local target destdir srcdir listfile list ;
>      dir = [ ConcatDirs $(2) ] ;
>      target = $(1:G=filelist!$(SUBDIR:J=!)) ;
> +    list = $(4) ;
>
> -    listfile = [ ListFile $(4) ] ;
> +    if ! [ IsElem $(list) : $(ALL_LISTS) ]
> +    {
> +      ALL_LISTS += $(list) ;
> +    }
>
> +    listfile = [ ListFile $(list) ] ;
> +
>      SEARCH on $(target) = [ on $(1) GetVar SEARCH ] ;
>      NoCare $(target) ;
>      WriteFileListEntry $(listfile) : $(target) : $(dir) : $(1) ;
> -    Depends $(listfile) : $(target) ;
> +
> +    LIST_ENTRIES_$(list) += $(target) ;
>
>      return $(listfile) ;
>  }
>
> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Crystal-cvs mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/crystal-cvs

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.