summaryrefslogtreecommitdiffabout
path: root/Makefile.Embedded
Side-by-side diff
Diffstat (limited to 'Makefile.Embedded') (more/less context) (show whitespace changes)
-rw-r--r--Makefile.Embedded10
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 @@
-DISTPATH = $(shell pwd)
-DISTDIR = $(shell basename $(DISTPATH))
+export KDEPIMDIR = $(shell pwd)
ifeq ($(PLATFORM) , zaurus)
@@ -110,6 +109,7 @@ build_micromail: build_microkde
variable_info:
@echo --------------------------------------
@echo KDEPIM buildsystem, variableinfo...
+ @echo KDEPIMDIR=$(KDEPIMDIR)
@echo QTDIR=$(QTDIR)
@echo QPEDIR=$(QPEDIR)
@echo OPIEDIR=$(OPIEDIR)
@@ -126,6 +126,10 @@ variable_info:
variable_test: variable_info
@echo KDEPIM buildsystem, variablecheck...
+ ifndef KDEPIMDIR
+ @echo KDEPIMDIR is not defined.
+ $(error KDEPIMDIR is not defined)
+ endif
ifndef PLATFORM
@echo PLATFORM is not defined.
$(error PLATFORM is not defined)
@@ -156,7 +160,7 @@ objects:
mkdir -p libical/lib/$(PLATFORM)
clean:
- rm -f libical/lib/$(PLATFORM)/*;
+ rm -rf libical/lib/$(PLATFORM)/*;
for i in $(SUBDIRS); do pushd $$i; make clean; rm -f *~;\
rm -f obj/$(PLATFORM)/*; rm -f moc/$(PLATFORM)/*; rm Makefile$(PLATFORM); popd; \
done