diff --git a/tools/update-scripts b/tools/update-scripts index 76e8fd3..a23419e 100755 --- a/tools/update-scripts +++ b/tools/update-scripts @@ -1,59 +1,46 @@ #!/bin/bash BRANCH="4.14" update_git() { cd $HOME if [ ! -d $1 ]; then git clone $2 $1 elif [ -d $1/.git ]; then cd $1 git pull else echo "*** $1 exists and is not a git clone!" fi } -update_svn() -{ - cd $HOME - if [ ! -d $1 ]; then - svn checkout svn://anonsvn.kde.org/home/kde/$2 $1 - elif [ -d $1/.svn ]; then - svn cleanup $1 - svn up $1 - else - echo "*** $1 exists and is not a svn checkout!" - fi -} - # Start cd $HOME # Krazy - update from git + install - disabled, due to ebn.kde.org to be shut-down # update_git krazy https://github.com/Krazy-collection/krazy.git export QMAKE=/usr/lib64/qt5/bin/qmake # bash $HOME/krazy/install.sh $HOME/krazy-install/ # kdelibs - needed to build apidox properly as it needs full exec permissions which /srv doesn't have... update_git kdelibs git://anongit.kde.org/kdelibs #we rely on the version in the KDE/$BRANCH branch ( cd $HOME/kdelibs; git checkout KDE/$BRANCH ) # kdesdk - git checkout script + man/qch generation update_git sdk-scripts git://anongit.kde.org/kde-dev-scripts.git cp -f $HOME/sdk-scripts/kde-checkout-list.pl $HOME/bin/ chmod 755 $HOME/bin/kde-checkout-list.pl # kde quality - for sanitizer scripts... update_git quality-kde-org git://anongit.kde.org/websites/quality-kde-org ( rm -f sanitizer-scripts; ln -s quality-kde-org/sanitizer sanitizer-scripts ) # kapidox - for frameworks dox generation update_git kapidox git://anongit.kde.org/kapidox # ecm-doc update_git extra-cmake-modules git://anongit.kde.org/extra-cmake-modules mkdir -p /srv/www/api.kde.org/ecm ( cd $HOME/extra-cmake-modules && mkdir -p build && cd build && cmake .. && make && cp -dpr docs/html/* /srv/www/api.kde.org/ecm )