summaryrefslogtreecommitdiff
path: root/Jamfile
diff options
context:
space:
mode:
authorRalph Giles <giles@ghostscript.com>2005-04-22 07:43:12 +0200
committerRalph Giles <giles@ghostscript.com>2005-04-22 07:43:12 +0200
commit66a2ae4bd4451ae32833bb30cbe353f51278cbe8 (patch)
treed70f23b2c7996e62e7269d9b8e123d1379c9cd0b /Jamfile
parent008829006ffb958c4bf4c9bdcd89e612339a0f68 (diff)
downloadmupdf-66a2ae4bd4451ae32833bb30cbe353f51278cbe8.tar.xz
xcopy2
working version of xcopy rule for duplicating the macosx bundle source.
Diffstat (limited to 'Jamfile')
-rw-r--r--Jamfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/Jamfile b/Jamfile
index 2364021d..0409415a 100644
--- a/Jamfile
+++ b/Jamfile
@@ -79,8 +79,8 @@ rule XCopy
{
for i in $(<)
{
- local d = [ FDirName $(LOCATE_TARGET) $(i:D) ] ;
- LOCATE on $(i:G=xcopy) = $(LOCATE_TARGET) ;
+ local d = [ FDirName $(ALL_LOCATE_TARGET) $(i:D) ] ;
+ LOCATE on $(i:G=xcopy) = $(ALL_LOCATE_TARGET) ;
Depends $(i:G=xcopy) : $(d:G=dir) ;
MkDir $(d:G=dir) ;
File $(i:G=xcopy) : $(i) ;
@@ -343,6 +343,8 @@ if $(OS) = MACOSX
;
MACPDF = $(MACBUNDLE)/Contents/MacOS/ghostpdf ;
+ MkDir $(ALL_LOCATE_TARGET)/$(MACPDF:D) ;
+ Depends $(MACPDF) : $(ALL_LOCATE_TARGET)/$(MACPDF:D) ;
Main $(MACPDF) : macpdf.c ;
LinkLibraries $(MACPDF) : $(FITZLIBS) ;
LINKLIBS on $(MACPDF) = $(LINKLIBS) -framework Carbon ;