summaryrefslogtreecommitdiff
path: root/Makefile
authorkergoth <kergoth>2003-02-11 18:32:58 (UTC)
committer kergoth <kergoth>2003-02-11 18:32:58 (UTC)
commitfdeb607c2222e36bbf817114088317b15219af78 (patch) (side-by-side diff)
treef3ad2d34ac9200e6ffe3fc03a2e1e45b0b6a4895 /Makefile
parent613ae8a0a9c82dea1332651ba4f4a8e2f06eee0b (diff)
downloadopie-fdeb607c2222e36bbf817114088317b15219af78.zip
opie-fdeb607c2222e36bbf817114088317b15219af78.tar.gz
opie-fdeb607c2222e36bbf817114088317b15219af78.tar.bz2
Abort on QTDIR not set
Diffstat (limited to 'Makefile') (more/less context) (ignore whitespace changes)
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 685d213..463e636 100644
--- a/Makefile
+++ b/Makefile
@@ -1,13 +1,17 @@
#!/usr/bin/make -f
+ifndef QTDIR
+$(error QTDIR not set)
+endif
+
export OPIEDIR:=$(shell pwd)
export TOPDIR:=$(OPIEDIR)
export QMAKE:=$(OPIEDIR)/qmake/qmake
export QMAKESPECSDIR=$(OPIEDIR)/mkspecs
noconfig_targets := xconfig menuconfig config oldconfig randconfig \
defconfig allyesconfig allnoconfig allmodconfig \
clean-configs
configs += $(TOPDIR)/core/applets/config.in $(TOPDIR)/core/apps/config.in $(TOPDIR)/core/multimedia/config.in $(TOPDIR)/core/pim/config.in $(TOPDIR)/core/pim/today/plugins/config.in $(TOPDIR)/core/settings/config.in $(TOPDIR)/development/config.in $(TOPDIR)/inputmethods/config.in $(TOPDIR)/libopie/ofileselector/config.in $(TOPDIR)/libopie/pim/config.in $(TOPDIR)/libsql/config.in $(TOPDIR)/noncore/applets/config.in $(TOPDIR)/noncore/apps/opie-console/test/config.in $(TOPDIR)/noncore/apps/config.in $(TOPDIR)/noncore/comm/config.in $(TOPDIR)/noncore/decorations/config.in $(TOPDIR)/noncore/games/config.in $(TOPDIR)/noncore/graphics/config.in $(TOPDIR)/noncore/multimedia/config.in $(TOPDIR)/noncore/net/config.in $(TOPDIR)/noncore/net/opietooth/config.in $(TOPDIR)/noncore/settings/config.in $(TOPDIR)/noncore/styles/config.in $(TOPDIR)/noncore/tools/calc2/config.in $(TOPDIR)/noncore/tools/config.in $(TOPDIR)/noncore/unsupported/opiemail/ifaces/config.in $(TOPDIR)/noncore/unsupported/config.in $(TOPDIR)/noncore/todayplugins/config.in