I've attempted to add boost.build v2 to my boost spec file
but I'm
wondering if theres an easier way than what I'm currently
doing.
Basically, I've located all required files via trial and
error and
copy them manually.
#% is /usr/share
mkdir -p $RPM_BUILD_ROOT%/boost-build/build
mkdir -p $RPM_BUILD_ROOT%/boost-build/kernel
mkdir -p $RPM_BUILD_ROOT%/boost-build/notes
mkdir -p $RPM_BUILD_ROOT%/boost-build/options
mkdir -p $RPM_BUILD_ROOT%/boost-build/tools
mkdir -p $RPM_BUILD_ROOT%/boost-build/tools/types
mkdir -p $RPM_BUILD_ROOT%/boost-build/util
mkdir -p $RPM_BUILD_ROOT%
for i in `find build -type f`; do
install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find kernel -type f`; do
install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find notes -type f`; do
install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find options -type f`; do
install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find tools -type f`; do
install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
for i in `find util -type f`; do
install -m 644 $i
$RPM_BUILD_ROOT%/boost-build/$i
done
touch
$RPM_BUILD_ROOT%/boost-build/user-config.jam
cd ../../..
install -m 644 tools/build/v2/bootstrap.jam
$RPM_BUILD_ROOT%/boost-build/bootstrap.jam
install -m 644 tools/build/v2/build-system.jam
$RPM_BUILD_ROOT%/boost-build/build-system.jam
install -m 644 tools/build/v2/changes.txt
$RPM_BUILD_ROOT%/boost-build/changes.txt
install -m 644 tools/build/v2/boost-build.jam
$RPM_BUILD_ROOT%/boost-build/boost-build.jam
install tools/jam/src/bin.linux/bjam
$RPM_BUILD_ROOT%/bjam
The hard part was figuring out what you need and what you
don't in the
tools/build directory. There an easy way to determine other
than trial
and error?
Thanks,
Chris
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build
a>
|