freetype
[Top][All Lists]
Advanced

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

[ft] [ftjam] how to enable SUBST


From: Oleg Verych
Subject: [ft] [ftjam] how to enable SUBST
Date: Fri, 19 Jan 2007 14:46:11 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

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$
`-*-




reply via email to

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