mirror of https://github.com/BOINC/boinc.git
Fixed problems in the SEA make process.
svn path=/trunk/boinc/; revision=17034
This commit is contained in:
parent
3eee24d83a
commit
ccaefcd4a7
|
@ -4,12 +4,17 @@ EXTRA_DIST = make-sea.sh
|
||||||
vers = \
|
vers = \
|
||||||
@BOINC_MAJOR_VERSION@.@BOINC_MINOR_VERSION@.@BOINC_RELEASE@_@boinc_platform@
|
@BOINC_MAJOR_VERSION@.@BOINC_MINOR_VERSION@.@BOINC_RELEASE@_@boinc_platform@
|
||||||
sea = boinc_$(vers).sh
|
sea = boinc_$(vers).sh
|
||||||
tarfiles = BOINC/boinc BOINC/boincmgr BOINC/boinccmd BOINC/binstall.sh\
|
tarfiles = BOINC/boinc BOINC/boincmgr BOINC/boinccmd BOINC/binstall.sh \
|
||||||
BOINC/libboinc*.so*
|
|
||||||
BOINC/boincmgr.16x16.png BOINC/boincmgr.32x32.png BOINC/boincmgr.48x48.png \
|
BOINC/boincmgr.16x16.png BOINC/boincmgr.32x32.png BOINC/boincmgr.48x48.png \
|
||||||
BOINC/libcudart.so BOINC/ca-bundle.crt
|
BOINC/ca-bundle.crt
|
||||||
|
|
||||||
all: $(sea) $(top_builddir)/stage
|
if HAVE_CUDA_LIB
|
||||||
|
tarfiles += BOINC/libcudart.so
|
||||||
|
BOINC/libcudart.so: $(top_builddir)/coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC
|
||||||
|
cp $(top_builddir)/coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC/libcudart.so
|
||||||
|
endif
|
||||||
|
|
||||||
|
all: $(top_builddir)/stage $(sea)
|
||||||
|
|
||||||
# WARNING: WHAT FOLLOWS IS 'FRAGILE'. DO NOT REPLACE
|
# WARNING: WHAT FOLLOWS IS 'FRAGILE'. DO NOT REPLACE
|
||||||
# TABS WITH SPACES!
|
# TABS WITH SPACES!
|
||||||
|
@ -17,27 +22,22 @@ all: $(sea) $(top_builddir)/stage
|
||||||
$(top_builddir)/stage:
|
$(top_builddir)/stage:
|
||||||
cd $(top_builddir) ; make stage
|
cd $(top_builddir) ; make stage
|
||||||
|
|
||||||
|
sea.tar: $(tarfiles)
|
||||||
|
./make-tar.sh ${top_builddir}
|
||||||
|
|
||||||
$(sea): sea.tar make-sea.sh Makefile
|
$(sea): sea.tar make-sea.sh Makefile
|
||||||
./make-sea.sh sea.tar $(sea) BOINC/binstall.sh
|
./make-sea.sh sea.tar $(sea) BOINC/binstall.sh
|
||||||
|
|
||||||
sea.tar: $(tarfiles)
|
|
||||||
./make-tar.sh
|
|
||||||
|
|
||||||
BOINC/boinc: $(top_builddir)/stage/$(bindir)/boinc BOINC
|
BOINC/boinc: $(top_builddir)/stage $(top_builddir)/stage/$(bindir)/boinc BOINC
|
||||||
cp $(top_builddir)/stage/$(bindir)/boinc BOINC/boinc
|
cp $(top_builddir)/stage/$(bindir)/boinc BOINC/boinc
|
||||||
|
|
||||||
BOINC/libboinc*.so*:
|
|
||||||
cp -P $(top_builddir)/stage/$(libdir)/libboinc*.so* BOINC
|
|
||||||
|
|
||||||
BOINC/boincmgr: $(top_builddir)/stage/$(bindir)/boincmgr BOINC
|
BOINC/boincmgr: $(top_builddir)/stage/$(bindir)/boincmgr BOINC
|
||||||
cp $(top_builddir)/stage/$(bindir)/boincmgr BOINC/boincmgr
|
cp $(top_builddir)/stage/$(bindir)/boincmgr BOINC/boincmgr
|
||||||
|
|
||||||
BOINC/boinccmd: $(top_builddir)/stage/$(bindir)/boinccmd BOINC
|
BOINC/boinccmd: $(top_builddir)/stage/$(bindir)/boinccmd BOINC
|
||||||
cp $(top_builddir)/stage/$(bindir)/boinccmd BOINC/boinccmd
|
cp $(top_builddir)/stage/$(bindir)/boinccmd BOINC/boinccmd
|
||||||
|
|
||||||
BOINC/libcudart.so: $(top_builddir)/coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC
|
|
||||||
cp $(top_builddir)/coprocs/CUDA/posix/@boinc_platform@/libcudart.so BOINC/libcudart.so
|
|
||||||
|
|
||||||
BOINC/boincmgr.16x16.png: boincmgr.16x16.png
|
BOINC/boincmgr.16x16.png: boincmgr.16x16.png
|
||||||
cp boincmgr.16x16.png BOINC/boincmgr.16x16.png
|
cp boincmgr.16x16.png BOINC/boincmgr.16x16.png
|
||||||
BOINC/boincmgr.32x32.png: boincmgr.32x32.png
|
BOINC/boincmgr.32x32.png: boincmgr.32x32.png
|
||||||
|
|
|
@ -1,9 +1,16 @@
|
||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
destdir=`pwd`
|
||||||
rm -fr BOINC/.CVS
|
cd $1
|
||||||
|
srcdir=`pwd`/locale
|
||||||
|
cd $destdir
|
||||||
|
rm -rf `find BOINC -name ".CVS" -o -name ".svn"`
|
||||||
mkdir BOINC
|
mkdir BOINC
|
||||||
mkdir BOINC/locale
|
mkdir BOINC/locale
|
||||||
find ../locale/client -name 'BOINC-Manager.mo' | cut -d '/' -f 4 | awk '{print "BOINC/locale/"$0}' | xargs mkdir -p
|
for file in `find ${srcdir} -name 'BOINC-Manager.mo'` ; do
|
||||||
find ../locale/client -name 'BOINC-Manager.mo' | cut -d '/' -f 4,5 | awk '{print "cp \"../locale/"$0"\" \"BOINC/locale/"$0"\""}' | sh
|
dir=`dirname $file`
|
||||||
|
locale=`basename $dir`
|
||||||
|
mkdir BOINC/locale/${locale}
|
||||||
|
cp -f $file BOINC/locale/${locale}
|
||||||
|
done
|
||||||
tar cvf sea.tar BOINC
|
tar cvf sea.tar BOINC
|
||||||
|
exit 0
|
||||||
|
|
Loading…
Reference in New Issue