mirror of
https://gitea.psi.ch/ELOG/elog.git
synced 2026-09-12 19:33:03 +00:00
Tweaked build script
This commit is contained in:
parent
21dc563c57
commit
d3f0a19747
14
build
14
build
@ -35,10 +35,7 @@ mkdir $dir/src
|
|||||||
mkdir $dir/man
|
mkdir $dir/man
|
||||||
mkdir $dir/contrib
|
mkdir $dir/contrib
|
||||||
mkdir $dir/scripts
|
mkdir $dir/scripts
|
||||||
mkdir $dir/scripts/fckeditor
|
mkdir $dir/scripts/ckeditor
|
||||||
mkdir $dir/scripts/fckeditor/editor
|
|
||||||
mkdir $dir/scripts/fckeditor/editor/plugins
|
|
||||||
mkdir $dir/scripts/fckeditor/editor/plugins/elog
|
|
||||||
mkdir $dir/resources
|
mkdir $dir/resources
|
||||||
mkdir $dir/ssl
|
mkdir $dir/ssl
|
||||||
mkdir $dir/themes
|
mkdir $dir/themes
|
||||||
@ -51,8 +48,8 @@ mkdir $dir/../mxml
|
|||||||
# make sure we have up-to-date files
|
# make sure we have up-to-date files
|
||||||
if ( ! $?noupdate ) then
|
if ( ! $?noupdate ) then
|
||||||
echo Updating files...
|
echo Updating files...
|
||||||
( cd ../mxml ; svn update )
|
( cd ../mxml ; git pull )
|
||||||
svn update
|
git pull
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# copy files to archive
|
# copy files to archive
|
||||||
@ -71,14 +68,13 @@ cp -p doc/* $dir/doc
|
|||||||
cp -p man/* $dir/man
|
cp -p man/* $dir/man
|
||||||
cp -p contrib/* $dir/contrib
|
cp -p contrib/* $dir/contrib
|
||||||
cp -p scripts/* $dir/scripts
|
cp -p scripts/* $dir/scripts
|
||||||
cp -p scripts/fckeditor/* $dir/scripts/fckeditor
|
cp -p scripts/ckeditor/* $dir/scripts/ckeditor
|
||||||
cp -p scripts/fckeditor/editor/plugins/elog/* $dir/scripts/fckeditor/editor/plugins/elog
|
|
||||||
cp -p resources/* $dir/resources
|
cp -p resources/* $dir/resources
|
||||||
cp -p ssl/* $dir/ssl
|
cp -p ssl/* $dir/ssl
|
||||||
|
|
||||||
cp -p themes/default/* $dir/themes/default
|
cp -p themes/default/* $dir/themes/default
|
||||||
cp -p themes/default/icons/* $dir/themes/default/icons
|
cp -p themes/default/icons/* $dir/themes/default/icons
|
||||||
cp -p logbooks/demo/* $dir/logbooks/demo
|
cp -p logbooks/demo/011108a.log $dir/logbooks/demo/
|
||||||
|
|
||||||
# create elog-x.xx.tar.gz file
|
# create elog-x.xx.tar.gz file
|
||||||
echo Creating archive...
|
echo Creating archive...
|
||||||
|
|||||||
@ -18,7 +18,7 @@ On VPC6562-1:
|
|||||||
|
|
||||||
On midas.psi.ch:
|
On midas.psi.ch:
|
||||||
|
|
||||||
- svn update
|
- git pull
|
||||||
- Increase version in elog.spec
|
- Increase version in elog.spec
|
||||||
- su
|
- su
|
||||||
- klog ritt
|
- klog ritt
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user