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