summaryrefslogtreecommitdiffabout
authorzautrix <zautrix>2004-09-12 09:10:04 (UTC)
committer zautrix <zautrix>2004-09-12 09:10:04 (UTC)
commit2848d8373ab0785cd21c4588d8fe7ad21ad6f291 (patch) (side-by-side diff)
tree41ccedfa0e6c32b9c276150cf221241de189940f
parentd03369e14779dcbedb1e6a8882859664f818f588 (diff)
downloadkdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.zip
kdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.tar.gz
kdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.tar.bz2
Better version handling when building ipk packages
Diffstat (more/less context) (show whitespace changes)
-rw-r--r--Makefile5
-rw-r--r--Makefile.Embedded5
-rw-r--r--kaddressbook.control2
-rw-r--r--kammu.control2
-rw-r--r--kmicrokdelibs.control2
-rw-r--r--kopiemail.control2
-rw-r--r--korganizer-alarm.control2
-rw-r--r--korganizer.control2
-rw-r--r--pim_TAB_icon.control2
-rw-r--r--setZaurus1
10 files changed, 16 insertions, 9 deletions
diff --git a/Makefile b/Makefile
index ec2277e..77def29 100644
--- a/Makefile
+++ b/Makefile
@@ -182,15 +182,18 @@ clean:
for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
done
install:
+ ifdef KDEPIM_VERSION
cd bin/kdepim; make install
cp -r Pim $(QPEDIR)/apps
cp db2file/db2file $(QPEDIR)/bin/db2file
cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop
-
+ else
+ @echo KDEPIM_VERSION not set.Cannot build ipk packages if version is missing.
+ endif
dist:
@echo Dont forget to do "make install" before "make dist"
rm -f *arm.ipk
rm -f *~
diff --git a/Makefile.Embedded b/Makefile.Embedded
index ec2277e..77def29 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -182,15 +182,18 @@ clean:
for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
done
install:
+ ifdef KDEPIM_VERSION
cd bin/kdepim; make install
cp -r Pim $(QPEDIR)/apps
cp db2file/db2file $(QPEDIR)/bin/db2file
cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop
-
+ else
+ @echo KDEPIM_VERSION not set.Cannot build ipk packages if version is missing.
+ endif
dist:
@echo Dont forget to do "make install" before "make dist"
rm -f *arm.ipk
rm -f *~
diff --git a/kaddressbook.control b/kaddressbook.control
index 2e93f30..542ce1e 100644
--- a/kaddressbook.control
+++ b/kaddressbook.control
@@ -3,9 +3,9 @@ Files: bin/kapi apps/Pim/kaddressbook.desktop pics/kdepim/kaddressbook/*
Priority: optional
Section: qpe/pim
Maintainer: Lutz Rogowski <lutz@pi-sync.net>
Architecture: arm
-Version: 1.9.4
+Version: $KDEPIM_VERSION
License: GPL
Depends:
Description: KOrganizer/Pi and Kaddressbook/Pi
The embedded version of KOrganizer/Platform-independend,
diff --git a/kammu.control b/kammu.control
index db52c80..07559e7 100644
--- a/kammu.control
+++ b/kammu.control
@@ -3,9 +3,9 @@ Files: bin/kammu lib/libkammu*
Priority: optional
Section: qpe/pim
Maintainer: Lutz Rogowski <lutz@pi-sync.net>
Architecture: arm
-Version: 1.9.4
+Version: $KDEPIM_VERSION
License: GPL
Depends:
Description: Special version of gammu / libgammu
for Zaurus PDA and microkde
diff --git a/kmicrokdelibs.control b/kmicrokdelibs.control
index d894176..ef541a5 100644
--- a/kmicrokdelibs.control
+++ b/kmicrokdelibs.control
@@ -3,9 +3,9 @@ Files: bin/db2file lib/libmicro* pics/kdepim/LICENCE.TXT
Priority: optional
Section: qpe/pim
Maintainer: Lutz Rogowski <lutz@pi-sync.net>
Architecture: arm
-Version: 1.9.4
+Version: $KDEPIM_VERSION
License: GPL
Depends:
Description: KOrganizer/Pi and Kaddressbook/Pi
The embedded version of KOrganizer/Platform-independend,
diff --git a/kopiemail.control b/kopiemail.control
index 52cf554..46a0235 100644
--- a/kopiemail.control
+++ b/kopiemail.control
@@ -3,9 +3,9 @@ Files: bin/ompi apps/Pim/kopiemail.desktop pics/kdepim/kopiemail/* lib/libkm
Priority: optional
Section: qpe/pim
Maintainer: Lutz Rogowski <lutz@pi-sync.net>
Architecture: arm
-Version: 1.9.4
+Version: $KDEPIM_VERSION
License: GPL
Depends:
Description: KOrganizer/Pi and Kaddressbook/Pi
The embedded version of KOrganizer/Platform-independend,
diff --git a/korganizer-alarm.control b/korganizer-alarm.control
index b200ea9..68bc398 100644
--- a/korganizer-alarm.control
+++ b/korganizer-alarm.control
@@ -2,8 +2,8 @@ Files: plugins/applets/libkopialarmapplet.* pics/ko16.png pics/ko24.png
Priority: optional
Section: qpe/applications
Maintainer: Lutz Rogowski <lutz@pi-sync.net>
Architecture: arm
-Version: 1.9.4
+Version: $KDEPIM_VERSION
License: GPL
Description: KOrganizer/Pi Alarm Daemon
The alarm daemon needed by KOrganizer/Platform-independend showing alarms.
diff --git a/korganizer.control b/korganizer.control
index ee2e1a3..f66381e 100644
--- a/korganizer.control
+++ b/korganizer.control
@@ -3,9 +3,9 @@ Files: bin/kopi apps/Pim/korganizer.desktop pics/kdepim/korganizer/*
Priority: optional
Section: qpe/pim
Maintainer: Lutz Rogowski <lutz@pi-sync.net>
Architecture: arm
-Version: 1.9.4
+Version: $KDEPIM_VERSION
License: GPL
Depends:
Description: KOrganizer/Pi and Kaddressbook/Pi
The embedded version of KOrganizer/Platform-independend,
diff --git a/pim_TAB_icon.control b/pim_TAB_icon.control
index 3b3343b..25e99ea 100644
--- a/pim_TAB_icon.control
+++ b/pim_TAB_icon.control
@@ -3,9 +3,9 @@ Files: apps/Pim/.directory pics/ko24.png
Priority: optional
Section: qpe/pim
Maintainer: Lutz Rogowski <lutz@pi-sync.net>
Architecture: arm
-Version: 1.9.4
+Version: $KDEPIM_VERSION
License: GPL
Depends:
Description: Icon for Pim TAB
for Zaurus PDA and microkde
diff --git a/setZaurus b/setZaurus
index 4767716..2493ccb 100644
--- a/setZaurus
+++ b/setZaurus
@@ -15,4 +15,5 @@ export TMAKEPATH=/opt/Qtopia/tmake/lib/qws/linux-sharp-g++
export PLATFORM=zaurus
export RELEASE_DEBUG=release
export SHARPDTMSDK=/opt/dtm
#export RELEASE_DEBUG=debug \ No newline at end of file
+export KDEPIM_VERSION=1.9.4a \ No newline at end of file