mirror of https://github.com/BOINC/boinc.git
*** empty log message ***
svn path=/trunk/boinc/; revision=3504
This commit is contained in:
parent
900d8220c7
commit
758d73a89c
|
@ -13007,3 +13007,10 @@ Karl 2004-04-04
|
||||||
lib/
|
lib/
|
||||||
exception.h
|
exception.h
|
||||||
util.C
|
util.C
|
||||||
|
|
||||||
|
- install_boinc_files(): *do* copy sample_index.php to index.php, unless
|
||||||
|
it already exists (otherwise test scripts don't work)
|
||||||
|
|
||||||
|
py/Boinc/
|
||||||
|
setup_project.py
|
||||||
|
|
||||||
|
|
|
@ -123,7 +123,9 @@ def my_link(src,dest):
|
||||||
raise
|
raise
|
||||||
|
|
||||||
# install = options.install_function
|
# install = options.install_function
|
||||||
def install(src, dest):
|
def install(src, dest, unless_exists=False):
|
||||||
|
if unless_exists and os.path.exists(dest):
|
||||||
|
return
|
||||||
options.install_function(src, dest)
|
options.install_function(src, dest)
|
||||||
|
|
||||||
def install_glob(glob_source, dest, failok=False):
|
def install_glob(glob_source, dest, failok=False):
|
||||||
|
@ -268,6 +270,7 @@ def install_boinc_files(dest_dir):
|
||||||
install_glob(srcdir('html/user/*.inc'), dir('html/user/'))
|
install_glob(srcdir('html/user/*.inc'), dir('html/user/'))
|
||||||
install_glob(srcdir('html/user/*.css'), dir('html/user/'))
|
install_glob(srcdir('html/user/*.css'), dir('html/user/'))
|
||||||
install_glob(srcdir('html/user/*.txt'), dir('html/user/'))
|
install_glob(srcdir('html/user/*.txt'), dir('html/user/'))
|
||||||
|
install(srcdir('html/user/sample_index.php'), dir('html/user/index.php'), unless_exists=True)
|
||||||
|
|
||||||
# copy all the backend programs
|
# copy all the backend programs
|
||||||
map(lambda (s): install(builddir('sched',s), dir('cgi-bin',s)),
|
map(lambda (s): install(builddir('sched',s), dir('cgi-bin',s)),
|
||||||
|
|
Loading…
Reference in New Issue