author | zautrix <zautrix> | 2004-09-12 09:10:04 (UTC) |
---|---|---|
committer | zautrix <zautrix> | 2004-09-12 09:10:04 (UTC) |
commit | 2848d8373ab0785cd21c4588d8fe7ad21ad6f291 (patch) (unidiff) | |
tree | 41ccedfa0e6c32b9c276150cf221241de189940f /Makefile | |
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 | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -174,31 +174,34 @@ variable_test: variable_info | |||
174 | 174 | ||
175 | objects: | 175 | objects: |
176 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done | 176 | for i in $(SUBDIRS); do mkdir -p $$i/obj/$(PLATFORM); done |
177 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done | 177 | for i in $(SUBDIRS); do mkdir -p $$i/moc/$(PLATFORM); done |
178 | mkdir -p libical/lib/$(PLATFORM) | 178 | mkdir -p libical/lib/$(PLATFORM) |
179 | 179 | ||
180 | clean: | 180 | clean: |
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 |
185 | install: | 185 | install: |
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 | ||
193 | dist: | 196 | dist: |
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 |
201 | ifndef BUILD_NO_MICROMAIL | 204 | ifndef BUILD_NO_MICROMAIL |
202 | ./mkipks kopiemail.control | 205 | ./mkipks kopiemail.control |
203 | endif | 206 | endif |
204 | ./mkipks korganizer-alarm.control | 207 | ./mkipks korganizer-alarm.control |