diff --git a/tools/update-apidox b/tools/update-apidox index 7569970..358508e 100755 --- a/tools/update-apidox +++ b/tools/update-apidox @@ -1,52 +1,48 @@ #! /bin/sh TOPSRC=/srv/sources TOP_QSRC=$HOME/quality-kde-org TOPAPI=/srv/www/api.kde.org BINPATH=$HOME/bin BRANCH="4.14" -# Setup for doxyqml -export PYTHONPATH=/home/api/lib/python3.7/site-packages -export PATH=/home/api/bin:$PATH - # Copy in Mainpage.dox for some modules branches="kde-4.x kde-$BRANCH" modules="kdeaccessibility kdeedu kdegraphics kdenetwork kdesdk kdeutils" for b in $branches do for m in $modules do cp -f $TOP_QSRC/website/api.kde.org/Mainpages/$m.dox $TOPSRC/$b/$m/Mainpage.dox done done branches="frameworks" modules="frameworks5" for b in $branches do for m in $modules do cp -f $TOP_QSRC/website/api.kde.org/Mainpages/frameworks.dox $TOPSRC/frameworks/$m/Mainpage.dox done done #Use doxygen via gendox.sh to do the build of the work. $BINPATH/gendox.sh --version kde-4.x & $BINPATH/gendox.sh --version kde-"$BRANCH" & $BINPATH/frameworksgendox.sh --version frameworks frameworks5 & wait $BINPATH/gendox.sh --version extragear & $BINPATH/gendox.sh --version bundled-apps & wait $BINPATH/gendox.sh --version kdesupport & $BINPATH/gendox.sh --version kdereview & $BINPATH/gendox.sh --version playground & wait #Make sure the "stable" and "unstable" links are in place ( cd $TOPAPI; rm -f unstable; ln -s 4.x-api unstable ) ( cd $TOPAPI; rm -f stable; ln -s "$BRANCH"-api stable ) exit diff --git a/tools/update-scripts b/tools/update-scripts index f084fc0..76e8fd3 100755 --- a/tools/update-scripts +++ b/tools/update-scripts @@ -1,63 +1,59 @@ #!/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/ -# doxyqml - update from git + install -update_git doxyqml https://github.com/agateau/doxyqml.git -( cd $HOME/doxyqml; python setup.py install --prefix=$HOME ) - # 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 )