From 20aaf1a699958a9f6fd0a5ba6c4acad91f1f09dd Mon Sep 17 00:00:00 2001 From: zautrix Date: Sun, 24 Oct 2004 14:54:06 +0000 Subject: desktop fixes --- (limited to 'desktop/Makefile') diff --git a/desktop/Makefile b/desktop/Makefile index eaed1f5..c2fb728 100644 --- a/desktop/Makefile +++ b/desktop/Makefile @@ -1,2 +1,39 @@ - -#has to be written \ No newline at end of file +export KDEPIMDIR = $(shell pwd) + +export KDEPIM_VERSION=$(shell sed -e 's/.*\"\([0-9]*\.[0-9]*\.[0-9]*\).*/\1/' < ../version) +export KDEDIR=/kde_dev/kde +export KDE_DEV_DIR=/kde_dev/kde32/build/kdepim33_proko2_new/ +all: + cd ../kde2file/caldump;qmake;make + +install: + mkdir -p /opt/kdepimpi + mkdir -p /opt/kde3/share/applnk/PIM-pi +#clear old files: + rm -rf /opt/kdepimpi/* + rm -f /usr/lib/libmicro* + rm -fr /opt/kde3/share/applnk/PIM-pi/* + cp -r ../bin/* /opt/kdepimpi/ + cp ../bin/libmicro* /usr/lib/ + rm -rf /opt/kdepimpi/libmicro* + cd /opt/kdepimpi; rm -dfR CVS + cd /opt/kdepimpi/kdepim; rm -dfR CVS + cd /opt/kdepimpi/kdepim/pwmanager; rm -dfR CVS + cd /opt/kdepimpi/kdepim/pwmanager/icons22; rm -dfR CVS + cd /opt/kdepimpi/kdepim/pwmanager/icons16; rm -dfR CVS + cd /opt/kdepimpi/kdepim/korganizer; rm -dfR CVS + cd /opt/kdepimpi/kdepim/korganizer/icons16; rm -dfR CVS + cd /opt/kdepimpi/kdepim/korganizer/iconsmini; rm -dfR CVS + cd /opt/kdepimpi/kdepim/korganizer/icons16; rm -dfR .xvpics + cd /opt/kdepimpi/kdepim/korganizer/iconsmini; rm -dfR .xvpics + cd /opt/kdepimpi/kdepim/korganizer; rm -dfR .xvpics + cd /opt/kdepimpi/kdepim/kaddressbook; rm -dfR CVS + cd /opt/kdepimpi/kdepim/kaddressbook/icons22; rm -dfR CVS + cd /opt/kdepimpi/kdepim/kaddressbook/icons16; rm -dfR CVS + cd /opt/kdepimpi/kdepim; rm -dfR kopiemail + cd /opt/kdepimpi/kdepim; rm -f Make* + cp -r PIM-pi/* /opt/kde3/share/applnk/PIM-pi/ + cd /opt/kde3/share/applnk/PIM-pi; rm -fr CVS + cp -fr /home/polo/eigene/apps/* /opt/kdepimpi/ +dist: + cd rpm;rpmbuild -bb kdepim_rpm \ No newline at end of file -- cgit v0.9.0.2