-rw-r--r-- | desktop/Makefile | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/desktop/Makefile b/desktop/Makefile index edd1f09..ea65c3f 100644 --- a/desktop/Makefile +++ b/desktop/Makefile | |||
@@ -1,43 +1,45 @@ | |||
1 | export KDEPIMDIR = $(shell pwd) | 1 | export KDEPIMDIR = $(shell pwd) |
2 | 2 | ||
3 | export KDEPIM_VERSION=$(shell sed -e 's/.*\"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/' < ../version) | 3 | export KDEPIM_VERSION=$(shell sed -e 's/.*\"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/' < ../version) |
4 | export KDEDIR=/opt/kde3 | 4 | export KDEDIR=/opt/kde3 |
5 | export KDE_DEV_DIR=/kde_dev/kdecvs/head/kdepim | 5 | export KDE_DEV_DIR=/kde_dev/kdecvs/head/kdepim |
6 | all: | 6 | all: |
7 | cd ../kde2file/caldump;qmake;make | 7 | cd ../kde2file/caldump;qmake;make |
8 | cd ../kde2file/abdump;qmake;make | 8 | cd ../kde2file/abdump;qmake;make |
9 | 9 | ||
10 | install: | 10 | install: |
11 | mkdir -p /opt/kdepimpi | 11 | mkdir -p /opt/kdepimpi |
12 | mkdir -p /opt/kde3/share/applnk/PIM-pi | 12 | mkdir -p /opt/kde3/share/applnk/PIM-pi |
13 | rm -rf /opt/kdepimpi/* | 13 | rm -rf /opt/kdepimpi/* |
14 | rm -f /usr/lib/libmicro* | 14 | rm -f /usr/lib/libmicro* |
15 | rm -fr /opt/kde3/share/applnk/PIM-pi/* | 15 | rm -fr /opt/kde3/share/applnk/PIM-pi/* |
16 | cp -r ../bin/* /opt/kdepimpi/ | 16 | cp -r ../bin/* /opt/kdepimpi/ |
17 | cp --no-dereference ../bin/libmicro* /usr/lib/ | 17 | cp --no-dereference ../bin/libmicro* /usr/lib/ |
18 | rm -rf /opt/kdepimpi/libmicro* | 18 | rm -rf /opt/kdepimpi/libmicro* |
19 | rm -rf /usr/lib/libmicrokabc_* | 19 | rm -rf /usr/lib/libmicrokabc_* |
20 | cp --no-dereference ../bin/libmicrokabc_* /opt/kdepimpi/ | 20 | cp --no-dereference ../bin/libmicrokabc_* /opt/kdepimpi/ |
21 | cd /opt/kdepimpi; rm -dfR CVS | 21 | cd /opt/kdepimpi; rm -dfR CVS |
22 | cd /opt/kdepimpi/kdepim; rm -dfR CVS | 22 | cd /opt/kdepimpi/kdepim; rm -dfR CVS |
23 | cd /opt/kdepimpi/kdepim/pwmanager; rm -dfR CVS | 23 | cd /opt/kdepimpi/kdepim/pwmanager; rm -dfR CVS |
24 | cd /opt/kdepimpi/kdepim/pwmanager/icons22; rm -dfR CVS | 24 | cd /opt/kdepimpi/kdepim/pwmanager/icons22; rm -dfR CVS |
25 | cd /opt/kdepimpi/kdepim/pwmanager/icons16; rm -dfR CVS | 25 | cd /opt/kdepimpi/kdepim/pwmanager/icons16; rm -dfR CVS |
26 | cd /opt/kdepimpi/kdepim/korganizer; rm -dfR CVS | 26 | cd /opt/kdepimpi/kdepim/korganizer; rm -dfR CVS |
27 | cd /opt/kdepimpi/kdepim/korganizer/icons16; rm -dfR CVS | 27 | cd /opt/kdepimpi/kdepim/korganizer/icons16; rm -dfR CVS |
28 | cd /opt/kdepimpi/kdepim/korganizer/iconsmini; rm -dfR CVS | 28 | cd /opt/kdepimpi/kdepim/korganizer/iconsmini; rm -dfR CVS |
29 | cd /opt/kdepimpi/kdepim/korganizer/icons16; rm -dfR .xvpics | 29 | cd /opt/kdepimpi/kdepim/korganizer/icons16; rm -dfR .xvpics |
30 | cd /opt/kdepimpi/kdepim/korganizer/iconsmini; rm -dfR .xvpics | 30 | cd /opt/kdepimpi/kdepim/korganizer/iconsmini; rm -dfR .xvpics |
31 | cd /opt/kdepimpi/kdepim/korganizer; rm -dfR .xvpics | 31 | cd /opt/kdepimpi/kdepim/korganizer; rm -dfR .xvpics |
32 | cd /opt/kdepimpi/kdepim/kaddressbook; rm -dfR CVS | 32 | cd /opt/kdepimpi/kdepim/kaddressbook; rm -dfR CVS |
33 | cd /opt/kdepimpi/kdepim/kaddressbook/icons22; rm -dfR CVS | 33 | cd /opt/kdepimpi/kdepim/kaddressbook/icons22; rm -dfR CVS |
34 | cd /opt/kdepimpi/kdepim/kaddressbook/icons16; rm -dfR CVS | 34 | cd /opt/kdepimpi/kdepim/kaddressbook/icons16; rm -dfR CVS |
35 | cd /opt/kdepimpi/kdepim/kopiemail/icons22; rm -dfR CVS | 35 | cd /opt/kdepimpi/kdepim/kopiemail/icons22; rm -dfR CVS |
36 | cd /opt/kdepimpi/kdepim/kopiemail; rm -dfR CVS | 36 | cd /opt/kdepimpi/kdepim/kopiemail; rm -dfR CVS |
37 | cd /opt/kdepimpi/kdepim; rm -f Make* | 37 | cd /opt/kdepimpi/kdepim; rm -f Make* |
38 | cp -r PIM-pi/* /opt/kde3/share/applnk/PIM-pi/ | 38 | cp -r PIM-pi/* /opt/kde3/share/applnk/PIM-pi/ |
39 | cd /opt/kde3/share/applnk/PIM-pi; rm -fr CVS | 39 | cd /opt/kde3/share/applnk/PIM-pi; rm -fr CVS |
40 | #adding KPhone/Pi and KTimeTracker/Pi to the distribution | 40 | #adding KPhone/Pi and KTimeTracker/Pi to the distribution |
41 | cp -fr /home/polo/eigene/apps/* /opt/kdepimpi/ | 41 | cp -fr /home/polo/eigene/apps/* /opt/kdepimpi/ |
42 | dist: | 42 | dist: |
43 | cd rpm;rpmbuild -bb kdepim_rpm \ No newline at end of file | 43 | mv /opt/kdepimpi/.microkdehome /root/.microkdehome |
44 | cd rpm;rpmbuild -bb kdepim_rpm | ||
45 | mv /root/.microkdehome /opt/kdepimpi/.microkdehome \ No newline at end of file | ||