comparison kdiff3/configure @ 82:e10fc1ab21a2

(none)
author joachim99
date Tue, 06 Jan 2009 18:07:30 +0000
parents
children
comparison
equal deleted inserted replaced
81:5d7e91c44e6d 82:e10fc1ab21a2
1 #!/bin/sh
2 # Manually created configure
3 echo "configure for KDiff3 Qt4/KDE4 by Joachim Eibl"
4 if [ "$1" = "kde4" ]; then
5 echo Trying to build for KDE4. If anything fails see the README for details.
6 echo Creating and entering subdir "release"
7 mkdir release # create sub directory
8 cd release
9 echo "Running cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix`"
10 cmake .. -DCMAKE_INSTALL_PREFIX=`kde4-config --prefix` # create Makefile
11 echo Running make.
12 make # run make (compile and link)
13 echo "If everything went OK then KDiff3 was built in the release-subdir."
14 echo "Install as root (requires password)."
15 sudo make install # install as root user
16 elif [ "$1" = "qt4" ]; then
17 echo Trying to build for Qt4 without KDE
18 echo "Entering subdir src-QT4"
19 cd src-QT4
20 echo "Running qmake kdiff3.pro"
21 qmake kdiff3.pro
22 echo "Running make"
23 make
24 echo "If everything went OK then KDiff3 was built as src-QT4/kdiff3"
25 else
26 echo Usage 1: configure kde4
27 echo Usage 2: configure qt4
28 echo For requirements, more options and details in case of failure see the README.
29 fi
30