summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
authorzautrix <zautrix>2004-09-12 09:10:04 (UTC)
committer zautrix <zautrix>2004-09-12 09:10:04 (UTC)
commit2848d8373ab0785cd21c4588d8fe7ad21ad6f291 (patch) (unidiff)
tree41ccedfa0e6c32b9c276150cf221241de189940f /Makefile.Embedded
parentd03369e14779dcbedb1e6a8882859664f818f588 (diff)
downloadkdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.zip
kdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.tar.gz
kdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.tar.bz2
Better version handling when building ipk packages
Diffstat (limited to 'Makefile.Embedded') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile.Embedded5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded
index ec2277e..77def29 100644
--- a/Makefile.Embedded
+++ b/Makefile.Embedded
@@ -178,23 +178,26 @@ objects:
178 mkdir -p libical/lib/$(PLATFORM) 178 mkdir -p libical/lib/$(PLATFORM)
179 179
180clean: 180clean:
181 rm -rf libical/lib/$(PLATFORM)/*; 181 rm -rf libical/lib/$(PLATFORM)/*;
182 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ 182 for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
183 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ 183 rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
184 done 184 done
185install: 185install:
186 ifdef KDEPIM_VERSION
186 cd bin/kdepim; make install 187 cd bin/kdepim; make install
187 cp -r Pim $(QPEDIR)/apps 188 cp -r Pim $(QPEDIR)/apps
188 cp db2file/db2file $(QPEDIR)/bin/db2file 189 cp db2file/db2file $(QPEDIR)/bin/db2file
189 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop 190 cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop
190 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop 191 cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop
191 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop 192 cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop
192 193 else
194 @echo KDEPIM_VERSION not set.Cannot build ipk packages if version is missing.
195 endif
193dist: 196dist:
194 @echo Dont forget to do "make install" before "make dist" 197 @echo Dont forget to do "make install" before "make dist"
195 rm -f *arm.ipk 198 rm -f *arm.ipk
196 rm -f *~ 199 rm -f *~
197 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim 200 cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim
198 ./mkipks kmicrokdelibs.control 201 ./mkipks kmicrokdelibs.control
199 ./mkipks korganizer.control 202 ./mkipks korganizer.control
200 ./mkipks kaddressbook.control 203 ./mkipks kaddressbook.control