Move package info pre-processing to jam build system
Also, pre-process all package infos (not only the generic ones) and define the macro HAIKU_BOOTSTRAP_BUILD, if building a package for a bootstrap image.
This commit is contained in:
@@ -10,7 +10,6 @@ set -o errexit
|
||||
# compressionLevel
|
||||
# updateOnly
|
||||
# cc
|
||||
# packagingArch
|
||||
#
|
||||
# addattr
|
||||
# copyattr
|
||||
@@ -115,16 +114,6 @@ echo "$packageName: mimeset'ing package contents ..."
|
||||
$mimeset --mimedb "$mimeDB" "$contentsDir"
|
||||
|
||||
|
||||
# create the package-info from a generic package-info if needed
|
||||
if [ $(basename $(dirname $packageInfoPath)) = 'generic' ]; then
|
||||
echo "$packageName: Creating real package info from generic one ..."
|
||||
genericPackageInfoPath=$packageInfoPath
|
||||
packageInfoPath=$tmpDir/.PackageInfo
|
||||
cat "$genericPackageInfoPath" \
|
||||
| $cc -E -DHAIKU_PACKAGING_ARCH=$packagingArch - > "$packageInfoPath"
|
||||
fi
|
||||
|
||||
|
||||
# create the package
|
||||
if [ ! $updateOnly ]; then
|
||||
echo "$packageName: Creating the package ..."
|
||||
|
||||
Reference in New Issue
Block a user