freetype
[Top][All Lists]
Advanced

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

[ft] [ftjam] SUBST via MATCH (was: how to enable SUBST)


From: Oleg Verych
Subject: [ft] [ftjam] SUBST via MATCH (was: how to enable SUBST)
Date: Mon, 22 Jan 2007 14:48:12 +0000
User-agent: Mutt/1.5.13 (2006-08-11)

Hallo, David. Nice to meet you !

On Mon, Jan 22, 2007 at 01:10:25PM +0100, David Turner wrote:
> 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,
> 

I wanted to test typo in $(PATTERN) there (a-a instead a-z). But it
seems, that whole syntax has changed. Do you think that that example is
better to write as this now?

-*- Jamfile -*-
XX_TGZ = packagename-2.0.2.tar.gz ;
PTRN = "[A-Za-z][A-Za-z0-9_]*" ;
NAME = "($(PTRN))-.*\.tar" ;
VER  = "$(PTRN)-(.*)\.tar" ;

XX_TAR  = [ MATCH "(.*)\.gz" : $(XX_TGZ) ] ;
XX_TBZ2 = $(XX_TAR)".bz2" ;

XX_NAME = [ MATCH $(NAME) : $(XX_TAR) ] ;
XX_VER  = [ MATCH $(VER) : $(XX_TAR) ] ;

ECHO $(XX_TGZ) ;
ECHO $(XX_TAR) ;
ECHO $(XX_TBZ2) ;

ECHO $(XX_NAME) ;
ECHO $(XX_VER) ;
-*-

Do you think, that development and maintaining of (ft)jam is good, or
it's going to be orphaned? 

Do you think (ft)jam still mature vis-a-vis GNU make?

I'm new user of (ft)jam, so sorry if my questions are dumb.

Thanks.

--
-o--=O`C
 #oo'L O
<___=E M




reply via email to

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