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.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 | |||
@@ -182,15 +182,18 @@ 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 | 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 *~ |