-rw-r--r-- | Makefile.Embedded | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Makefile.Embedded b/Makefile.Embedded index 38fd000..9b55ecf 100644 --- a/Makefile.Embedded +++ b/Makefile.Embedded | |||
@@ -1,5 +1,4 @@ | |||
1 | DISTPATH = $(shell pwd) | 1 | export KDEPIMDIR = $(shell pwd) |
2 | DISTDIR = $(shell basename $(DISTPATH)) | ||
3 | 2 | ||
4 | 3 | ||
5 | ifeq ($(PLATFORM) , zaurus) | 4 | ifeq ($(PLATFORM) , zaurus) |
@@ -110,6 +109,7 @@ build_micromail: build_microkde | |||
110 | variable_info: | 109 | variable_info: |
111 | @echo -------------------------------------- | 110 | @echo -------------------------------------- |
112 | @echo KDEPIM buildsystem, variableinfo... | 111 | @echo KDEPIM buildsystem, variableinfo... |
112 | @echo KDEPIMDIR=$(KDEPIMDIR) | ||
113 | @echo QTDIR=$(QTDIR) | 113 | @echo QTDIR=$(QTDIR) |
114 | @echo QPEDIR=$(QPEDIR) | 114 | @echo QPEDIR=$(QPEDIR) |
115 | @echo OPIEDIR=$(OPIEDIR) | 115 | @echo OPIEDIR=$(OPIEDIR) |
@@ -126,6 +126,10 @@ variable_info: | |||
126 | 126 | ||
127 | variable_test: variable_info | 127 | variable_test: variable_info |
128 | @echo KDEPIM buildsystem, variablecheck... | 128 | @echo KDEPIM buildsystem, variablecheck... |
129 | ifndef KDEPIMDIR | ||
130 | @echo KDEPIMDIR is not defined. | ||
131 | $(error KDEPIMDIR is not defined) | ||
132 | endif | ||
129 | ifndef PLATFORM | 133 | ifndef PLATFORM |
130 | @echo PLATFORM is not defined. | 134 | @echo PLATFORM is not defined. |
131 | $(error PLATFORM is not defined) | 135 | $(error PLATFORM is not defined) |
@@ -156,7 +160,7 @@ objects: | |||
156 | mkdir -p libical/lib/$(PLATFORM) | 160 | mkdir -p libical/lib/$(PLATFORM) |
157 | 161 | ||
158 | clean: | 162 | clean: |
159 | rm -f libical/lib/$(PLATFORM)/*; | 163 | rm -rf libical/lib/$(PLATFORM)/*; |
160 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ | 164 | for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\ |
161 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ | 165 | rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \ |
162 | done | 166 | done |