projects
/
supertux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
new editor image for gradients
[supertux.git]
/
mk
/
jam
/
install.jam
diff --git
a/mk/jam/install.jam
b/mk/jam/install.jam
index
9d3553f
..
ad85e41
100644
(file)
--- a/
mk/jam/install.jam
+++ b/
mk/jam/install.jam
@@
-85,7
+85,7
@@
rule InstallMan
}
}
}
}
-## DoInstall sourcename : directories [ : installapp ]
+## DoInstall sourcename : directories [ : installapp ]
[ : options ]
## Creates a new installtarget for the given sources. The target(s) are
## returned as function result.
rule DoInstall
## Creates a new installtarget for the given sources. The target(s) are
## returned as function result.
rule DoInstall
@@
-96,7
+96,7
@@
rule DoInstall
gdir = $(dir:G=dir) ;
MkDir $(gdir) ;
gdir = $(dir:G=dir) ;
MkDir $(gdir) ;
- for i in $(
1
) {
+ for i in $(
<
) {
target = $(i:BSR=$(dir):G=install) ;
targets += $(target) ;
Depends $(target) : $(gdir) $(i) ;
target = $(i:BSR=$(dir):G=install) ;
targets += $(target) ;
Depends $(target) : $(gdir) $(i) ;
@@
-109,6
+109,11
@@
rule DoInstall
}
}
}
}
+ # We want to package all files we install
+ if ! [ IsElem nopackage : $(4) ] {
+ Package $(<) ;
+ }
+
Always $(targets) ;
return $(targets) ;
}
Always $(targets) ;
return $(targets) ;
}