-rw-r--r-- | Makefile | 10 | ||||
-rw-r--r-- | Makefile.Embedded | 10 |
2 files changed, 20 insertions, 0 deletions
@@ -215,30 +215,37 @@ objects: | |||
215 | 215 | ||
216 | clean: | 216 | clean: |
217 | rm -rf libical/lib/$(PLATFORM)/*; | 217 | rm -rf libical/lib/$(PLATFORM)/*; |
218 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; | 218 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; |
219 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 219 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
220 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 220 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
221 | done | 221 | done |
222 | 222 | ||
223 | pac: | ||
224 | make | ||
225 | make install | ||
226 | make dist | ||
223 | install: | 227 | install: |
224 | 228 | ||
225 | cd bin/kdepim; make install | 229 | cd bin/kdepim; make install |
226 | cp -r Pim $(QPEDIR)/apps | 230 | cp -r Pim $(QPEDIR)/apps |
227 | cp db2file/db2file $(QPEDIR)/bin/db2file | 231 | cp db2file/db2file $(QPEDIR)/bin/db2file |
228 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 232 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
229 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 233 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
230 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 234 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
231 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 235 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
232 | 236 | ||
233 | dist: | 237 | dist: |
234 | @echo Dont forget to do "make install" before "make dist" | 238 | @echo Dont forget to do "make install" before "make dist" |
235 | rm -f *arm.ipk | 239 | rm -f *arm.ipk |
240 | rm -f *ipk.zip | ||
241 | rm -f ../new_$(KDEPIM_VERSION)/* | ||
236 | rm -f *~ | 242 | rm -f *~ |
243 | cd ..;mkdir -p new_$(KDEPIM_VERSION) | ||
237 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 244 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
238 | mkipks kmicrokdelibs.control | 245 | mkipks kmicrokdelibs.control |
239 | mkipks korganizer.control | 246 | mkipks korganizer.control |
240 | mkipks kaddressbook.control | 247 | mkipks kaddressbook.control |
241 | ifndef BUILD_NO_MICROMAIL | 248 | ifndef BUILD_NO_MICROMAIL |
242 | mkipks kopiemail.control | 249 | mkipks kopiemail.control |
243 | endif | 250 | endif |
244 | ifndef BUILD_NO_SHARP_PLUGIN | 251 | ifndef BUILD_NO_SHARP_PLUGIN |
@@ -248,16 +255,19 @@ dist: | |||
248 | ifndef BUILD_NO_GAMMU | 255 | ifndef BUILD_NO_GAMMU |
249 | mkipks kmobilephoneaccess.control | 256 | mkipks kmobilephoneaccess.control |
250 | endif | 257 | endif |
251 | ifndef BUILD_NO_PWMANAGER | 258 | ifndef BUILD_NO_PWMANAGER |
252 | mkipks pwmanager.control | 259 | mkipks pwmanager.control |
253 | endif | 260 | endif |
254 | mkipks pimTABicon.control | 261 | mkipks pimTABicon.control |
255 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt | 262 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt |
263 | mv *.ipk ../new_$(KDEPIM_VERSION)/ | ||
264 | mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/ | ||
265 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/ | ||
256 | 266 | ||
257 | tmake: objects \ | 267 | tmake: objects \ |
258 | qtcompat/Makefile$(PLATFORM) \ | 268 | qtcompat/Makefile$(PLATFORM) \ |
259 | microkde/Makefile$(PLATFORM) \ | 269 | microkde/Makefile$(PLATFORM) \ |
260 | libkcal/Makefile$(PLATFORM) \ | 270 | libkcal/Makefile$(PLATFORM) \ |
261 | libkdepim/Makefile$(PLATFORM) \ | 271 | libkdepim/Makefile$(PLATFORM) \ |
262 | korganizer/Makefile$(PLATFORM) \ | 272 | korganizer/Makefile$(PLATFORM) \ |
263 | kalarmd/Makefile$(PLATFORM) \ | 273 | kalarmd/Makefile$(PLATFORM) \ |
diff --git a/Makefile.Embedded b/Makefile.Embedded index 1f9507f..5a51127 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -215,30 +215,37 @@ objects: | |||
215 | 215 | ||
216 | clean: | 216 | clean: |
217 | rm -rf libical/lib/$(PLATFORM)/*; | 217 | rm -rf libical/lib/$(PLATFORM)/*; |
218 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; | 218 | rm -rf pwmanager/libcrypt/$(PLATFORM)/*; |
219 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 219 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
220 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 220 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
221 | done | 221 | done |
222 | 222 | ||
223 | pac: | ||
224 | make | ||
225 | make install | ||
226 | make dist | ||
223 | install: | 227 | install: |
224 | 228 | ||
225 | cd bin/kdepim; make install | 229 | cd bin/kdepim; make install |
226 | cp -r Pim $(QPEDIR)/apps | 230 | cp -r Pim $(QPEDIR)/apps |
227 | cp db2file/db2file $(QPEDIR)/bin/db2file | 231 | cp db2file/db2file $(QPEDIR)/bin/db2file |
228 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop | 232 | cp korganizer/korganizer.desktop $(QPEDIR)/apps/Pim/korganizer.desktop |
229 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop | 233 | cp kaddressbook/kaddressbook.desktop $(QPEDIR)/apps/Pim/kaddressbook.desktop |
230 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop | 234 | cp kmicromail/kmicromail.desktop $(QPEDIR)/apps/Pim/kopiemail.desktop |
231 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop | 235 | cp pwmanager/pwmanager/pwmanager.desktop $(QPEDIR)/apps/Pim/pwmanager.desktop |
232 | 236 | ||
233 | dist: | 237 | dist: |
234 | @echo Dont forget to do "make install" before "make dist" | 238 | @echo Dont forget to do "make install" before "make dist" |
235 | rm -f *arm.ipk | 239 | rm -f *arm.ipk |
240 | rm -f *ipk.zip | ||
241 | rm -f ../new_$(KDEPIM_VERSION)/* | ||
236 | rm -f *~ | 242 | rm -f *~ |
243 | cd ..;mkdir -p new_$(KDEPIM_VERSION) | ||
237 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim | 244 | cd ..; tar czf kdepimpi-$(KDEPIM_VERSION).tar.gz --exclude=obj --exclude=moc --exclude=CVS --exclude=Makefilezaurus --exclude=Makefileqtopia kdepim |
238 | mkipks kmicrokdelibs.control | 245 | mkipks kmicrokdelibs.control |
239 | mkipks korganizer.control | 246 | mkipks korganizer.control |
240 | mkipks kaddressbook.control | 247 | mkipks kaddressbook.control |
241 | ifndef BUILD_NO_MICROMAIL | 248 | ifndef BUILD_NO_MICROMAIL |
242 | mkipks kopiemail.control | 249 | mkipks kopiemail.control |
243 | endif | 250 | endif |
244 | ifndef BUILD_NO_SHARP_PLUGIN | 251 | ifndef BUILD_NO_SHARP_PLUGIN |
@@ -248,16 +255,19 @@ dist: | |||
248 | ifndef BUILD_NO_GAMMU | 255 | ifndef BUILD_NO_GAMMU |
249 | mkipks kmobilephoneaccess.control | 256 | mkipks kmobilephoneaccess.control |
250 | endif | 257 | endif |
251 | ifndef BUILD_NO_PWMANAGER | 258 | ifndef BUILD_NO_PWMANAGER |
252 | mkipks pwmanager.control | 259 | mkipks pwmanager.control |
253 | endif | 260 | endif |
254 | mkipks pimTABicon.control | 261 | mkipks pimTABicon.control |
255 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt | 262 | zip kdepim_$(KDEPIM_VERSION)_for_SharpRom.ipk.zip *.ipk ReleaseNotes.txt |
263 | mv *.ipk ../new_$(KDEPIM_VERSION)/ | ||
264 | mv *for_SharpRom.ipk.zip ../new_$(KDEPIM_VERSION)/ | ||
265 | mv ../kdepimpi-$(KDEPIM_VERSION).tar.gz ../new_$(KDEPIM_VERSION)/ | ||
256 | 266 | ||
257 | tmake: objects \ | 267 | tmake: objects \ |
258 | qtcompat/Makefile$(PLATFORM) \ | 268 | qtcompat/Makefile$(PLATFORM) \ |
259 | microkde/Makefile$(PLATFORM) \ | 269 | microkde/Makefile$(PLATFORM) \ |
260 | libkcal/Makefile$(PLATFORM) \ | 270 | libkcal/Makefile$(PLATFORM) \ |
261 | libkdepim/Makefile$(PLATFORM) \ | 271 | libkdepim/Makefile$(PLATFORM) \ |
262 | korganizer/Makefile$(PLATFORM) \ | 272 | korganizer/Makefile$(PLATFORM) \ |
263 | kalarmd/Makefile$(PLATFORM) \ | 273 | kalarmd/Makefile$(PLATFORM) \ |