2 messages in com.perforce.jamming[jamming] MkDir not working!?
FromSent OnAttachments
bjoern terwege15 May 2003 23:24 
Diane Holt16 May 2003 00:49 
Subject:[jamming] MkDir not working!?
From:bjoern terwege (bter@yahoo.de)
Date:05/15/2003 11:24:04 PM
List:com.perforce.jamming

Hi,

i have some questions on jam.

at the beginning i wasn't able to compile jam with the dedicated makefile for Win2k. therefor i used Visual C++ 6.0 to compile a jam executable from the 2.5rc3 sources. i used the jambase.c file from the delivery but that doesn't make a change if i generate it by my own with mkjambase.

then i build up a project with several jamfiles and a jamrule file. i have to copy some header files from the original directory to another directory which doesn't exist the first time. if i want to use the following files this is not working. It seems that MkDir is not working. There is no output (even not with -d3) for the MkDir statement. The error output is always:

The system cannot find the path specified.

That means, the system wants to copy the file with the Bulk rule but the MkDir rule is not working.

I tried to use InstallFile but this is as well not working. Has anyone an idea why this is not working!?

br bjoern terwege

####### Begin Jamrule ############ COPYINC = $(TOP)\\INC ; COPYLIB = $(TOP)\\LIB ; ... ####### End Jamrule ##############

####### Begin Jamfile ############

SOURCES = file1.c file2.c file3.c ;

HEADERS = file1.h file2.h file3.h ;

Library bla : $(SOURCES) ;

# The InstallAll rule can also be copied to the Jamrule file.

rule InstallAll { MkDir $(COPYINC) ; Bulk $(COPYLIB) : $(1) ; Bulk $(COPYINC) : $(HEADERS) ; }

InstallAll bla.lib ;

####### End Jamfile ##############

__________________________________________________________________

Gesendet von Yahoo! Mail - http://mail.yahoo.de Logos und Klingeltöne fürs Handy bei http://sms.yahoo.de