author | zautrix <zautrix> | 2004-09-12 09:23:35 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-12 09:23:35 (UTC) |
commit | 8d822fd4d97fbb38ab2c4f3f3f64f175ef143cff (patch) (side-by-side diff) | |
tree | 4ebe4f2edc51d45374efe04f2524e0f7a9990484 /Makefile.Embedded | |
parent | 2848d8373ab0785cd21c4588d8fe7ad21ad6f291 (diff) | |
download | kdepimpi-8d822fd4d97fbb38ab2c4f3f3f64f175ef143cff.zip kdepimpi-8d822fd4d97fbb38ab2c4f3f3f64f175ef143cff.tar.gz kdepimpi-8d822fd4d97fbb38ab2c4f3f3f64f175ef143cff.tar.bz2 |
Fixed the makefile
-rw-r--r-- | Makefile.Embedded | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index 77def29..01439bd 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded @@ -152,56 +152,54 @@ variable_test: variable_info ifdef BUILD_NO_LDAP_PLUGIN @echo LDAP PLUGIN will not be build, because BUILD_NO_LDAP_PLUGIN is set to $(BUILD_NO_LDAP_PLUGIN) endif ifdef BUILD_NO_OPIE_PLUGIN @echo OPIE PLUGIN will not be build, because BUILD_NO_OPIE_PLUGIN is set to $(BUILD_NO_OPIE_PLUGIN) endif ifdef BUILD_NO_MICROMAIL @echo MICROMAIL will not be build, because BUILD_NO_MICROMAIL is set to $(BUILD_NO_MICROMAIL) endif ifdef BUILD_NO_SHARP_PLUGIN @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) else - ifndef SHARPDTMSDK + ifndef SHARPDTMSDK @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) $(error SHARPDTMSDK is not defined) - endif + endif endif ifdef BUILD_NO_GAMMU @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 |