-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | Makefile.Embedded | 10 |
2 files changed, 8 insertions, 12 deletions
@@ -160,12 +160,12 @@ variable_test: variable_info | |||
160 | endif | 160 | endif |
161 | ifdef BUILD_NO_SHARP_PLUGIN | 161 | ifdef BUILD_NO_SHARP_PLUGIN |
162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
163 | else | 163 | else |
164 | ifndef SHARPDTMSDK | 164 | ifndef SHARPDTMSDK |
165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
166 | $(error SHARPDTMSDK is not defined) | 166 | $(error SHARPDTMSDK is not defined) |
167 | endif | 167 | endif |
168 | endif | 168 | endif |
169 | ifdef BUILD_NO_GAMMU | 169 | ifdef BUILD_NO_GAMMU |
170 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) | 170 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
171 | endif | 171 | endif |
@@ -182,18 +182,16 @@ clean: | |||
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 |
185 | install: | 185 | install: |
186 | ifdef KDEPIM_VERSION | 186 | |
187 | cd bin/kdepim; make install | 187 | cd bin/kdepim; make install |
188 | cp -r Pim $(QPEDIR)/apps | 188 | cp -r Pim $(QPEDIR)/apps |
189 | cp db2file/db2file $(QPEDIR)/bin/db2file | 189 | cp db2file/db2file $(QPEDIR)/bin/db2file |
190 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 190 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
191 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 191 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
192 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 192 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
193 | else | 193 | |
194 | @echo KDEPIM_VERSION not set.Cannot build ipk packages if version is missing. | ||
195 | endif | ||
196 | dist: | 194 | dist: |
197 | @echo Dont forget to do "make install" before "make dist" | 195 | @echo Dont forget to do "make install" before "make dist" |
198 | rm -f *arm.ipk | 196 | rm -f *arm.ipk |
199 | rm -f *~ | 197 | rm -f *~ |
diff --git a/Makefile.Embedded b/Makefile.Embedded index 77def29..01439bd 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -160,12 +160,12 @@ variable_test: variable_info | |||
160 | endif | 160 | endif |
161 | ifdef BUILD_NO_SHARP_PLUGIN | 161 | ifdef BUILD_NO_SHARP_PLUGIN |
162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) | 162 | @echo SHARP PLUGIN will not be build, because BUILD_NO_SHARP_PLUGIN is set to $(BUILD_NO_SHARP_PLUGIN) |
163 | else | 163 | else |
164 | ifndef SHARPDTMSDK | 164 | ifndef SHARPDTMSDK |
165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) | 165 | @echo SHARP PLUGIN can not be build, because SHARPDTMSDK is set to $(SHARPDTMSDK) |
166 | $(error SHARPDTMSDK is not defined) | 166 | $(error SHARPDTMSDK is not defined) |
167 | endif | 167 | endif |
168 | endif | 168 | endif |
169 | ifdef BUILD_NO_GAMMU | 169 | ifdef BUILD_NO_GAMMU |
170 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) | 170 | @echo GAMMU will not be build, because BUILD_NO_GAMMU is set to $(BUILD_NO_GAMMU) |
171 | endif | 171 | endif |
@@ -182,18 +182,16 @@ clean: | |||
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 |
185 | install: | 185 | install: |
186 | ifdef KDEPIM_VERSION | 186 | |
187 | cd bin/kdepim; make install | 187 | cd bin/kdepim; make install |
188 | cp -r Pim $(QPEDIR)/apps | 188 | cp -r Pim $(QPEDIR)/apps |
189 | cp db2file/db2file $(QPEDIR)/bin/db2file | 189 | cp db2file/db2file $(QPEDIR)/bin/db2file |
190 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 190 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
191 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 191 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
192 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 192 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
193 | else | 193 | |
194 | @echo KDEPIM_VERSION not set.Cannot build ipk packages if version is missing. | ||
195 | endif | ||
196 | dist: | 194 | dist: |
197 | @echo Dont forget to do "make install" before "make dist" | 195 | @echo Dont forget to do "make install" before "make dist" |
198 | rm -f *arm.ipk | 196 | rm -f *arm.ipk |
199 | rm -f *~ | 197 | rm -f *~ |