author | zautrix <zautrix> | 2004-09-12 09:10:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-12 09:10:04 (UTC) |
commit | 2848d8373ab0785cd21c4588d8fe7ad21ad6f291 (patch) (side-by-side diff) | |
tree | 41ccedfa0e6c32b9c276150cf221241de189940f /Makefile.Embedded | |
parent | d03369e14779dcbedb1e6a8882859664f818f588 (diff) | |
download | kdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.zip kdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.tar.gz kdepimpi-2848d8373ab0785cd21c4588d8fe7ad21ad6f291.tar.bz2 |
Better version handling when building ipk packages
-rw-r--r-- | Makefile.Embedded | 5 |
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 @@ -170,39 +170,42 @@ variable_test: variable_info @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) endif @echo -------------------------------------- objects: for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done mkdir -p libical/lib/$(PLATFORM) clean: rm -rf libical/lib/$(PLATFORM)/*; 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 *~ cd ..; tar czf kdepim.src.tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim ./mkipks kmicrokdelibs.control ./mkipks korganizer.control ./mkipks kaddressbook.control ifndef BUILD_NO_MICROMAIL ./mkipks kopiemail.control endif ./mkipks korganizer-alarm.control ifndef BUILD_NO_GAMMU ./mkipks kammu.control endif ./mkipks pim_TAB_icon.control |