freetype
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ft] [ftjam] how to enable SUBST


From: David Turner
Subject: Re: [ft] [ftjam] how to enable SUBST
Date: Mon, 22 Jan 2007 13:10:25 +0100

Hello Oleg,

sorry if I didn'4t update the web pages, but as stated in the README
of ftjam 2.5.1, the SUBST rule is no longer supported. You should used
instead the MATCH rules that comes standard with Jam 2.5, and is also
part of ftjam.

Hope this helps,

- David

On Fri, 19 Jan 2007 14:46:11 +0000, "Oleg Verych" <address@hidden> said:
> Hallo.
> 
> I've started to read ftjam's docs here:
> <http://www.freetype.org/jam/changes.html>
> 
> and first thing with example was SUBST. I've copied that to Jamfile
> with results [0]. I'm using 2.5.2-1 debian's ftjam. Thanks.
> 
> 0. Results:
> ,-*- shell -*-
> |address@hidden:/tmp$
> |address@hidden:/tmp$ cat Jamfile
> |XX_TGZ  = packagename-2.0.2.tar.gz ;
> |PATTERN = "([A-Za-z][A-Za-a0-9_]*)-(.*)\.tar\.gz" ;
> |XX_TBZ2 = [ SUBST $(XX_TGZ) "(.*)\.tar\.gz" "$1.tar.bz2" ] ;
> |XX_TAR  = [ SUBST $(XX_TGZ) "(.*)\.gz" "$1" ] ;
> |XX_NAME = [ SUBST $(XX_TGZ) $(PATTERN) "$1" ] ;
> |XX_VER  = [ SUBST $(XX_TGZ) $(PATTERN) "$2" ] ;
> |
> |ECHO $XX_TBZ2 ;
> |ECHO $XX_TAR ;
> |ECHO $XX_NAME ;
> |ECHO $XX_VER ;
> |address@hidden:/tmp$
> |address@hidden:/tmp$ ftjam
> |warning: unknown rule SUBST
> |warning: unknown rule SUBST
> |warning: unknown rule SUBST
> |warning: unknown rule SUBST
> |$XX_TBZ2
> |$XX_TAR
> |$XX_NAME
> |$XX_VER
> |...found 7 target(s)...
> |address@hidden:/tmp$
> |address@hidden:/tmp$
> `-*-
> 
> 
> _______________________________________________
> Freetype mailing list
> address@hidden
> http://lists.nongnu.org/mailman/listinfo/freetype




reply via email to

[Prev in Thread] Current Thread [Next in Thread]